【发布时间】:2017-07-26 08:42:42
【问题描述】:
我尝试安装 python 包 SimPeg(通过 setup.py 安装)
错误:
错误:安装脚本退出并出现错误:命令“cl.exe /c /nologo /Ox /W3 /GL /D NDEBUG /MD -IC:\Users\HP\AppData\Local\Programs\Python\Python36\lib\site-package s\numpy\core\include -IC:\Users\HP\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy\core\include -IC:\Users\HP\AppData\Local\Programs\Python\Pytho n36\include -IC:\Users\HP\AppData\Local\Programs\Python\Python36\include /Tcdisc retize\TreeUtils.c /Fobuild\temp.win-amd64-3.6\Release\discretize\TreeUtils.obj" 失败 退出状态为 127
C++ builder 已安装。需要你的帮助。 谢谢。
【问题讨论】:
-
欢迎来到 StackOverflow!请花点时间查看我们的tour 和help center,了解有关此网站及其运作方式的更多信息。
-
正在运行 build_ext 在 numpy.distutils 中没有名为 'numpy.distutils._msvccompiler' 的模块;尝试从 distutils 自定义 MSVCCompiler 使用 build_ext 自定义 MSVCCompiler 构建“discretize.TreeUtils”扩展 编译 C 源代码 创建 build\temp.win-amd64-3.6 创建 build\temp.win-amd64-3.6\Release 创建 build\temp.win-amd64- 3.6\发布\离散化
标签: python pip package installation