在 python Geopandas 安装中找不到错误 MSVCP140.dll

Error MSVCP140.dll not found on python Geopandas installation

我已经安装了 Geopandas(一个没有 Windows 特定轮子的库)。 pip install 运行 没有问题,但是当我执行脚本时,它显示 'MSVCP140.dll not found' 错误。

dll 似乎在那里,完全控制的 temp 权限也可以(正如另一个 post 在这个网站上建议的那样)。

另一方面,我在 Python 论坛上看到这个 dll 导致问题,因为有许多不兼容的版本。

更多信息:这个错误现在正在发生,在一台带有 py 3.5 32 位的 win 7 64 位机器中,但在我的最后一个机器中它运行良好(win7 - 32 位 // python 3.4 - 32 位)。

我不知道我错过了什么。

提前感谢您的帮助:)

正如 eryksun 在他的评论中所说,

then MSVCP140.dll needs to be installed to the System32 directory or a PATH directory. Installing vc_redist.x86.exe should resolve your issue.

我post在这里,因为它解决了我的问题。

我将 从 win 64 位更改为 32 位,但 我保留 python 32 位 的事实导致错误。