我已经看过其他问题,都说用c ++安装visual studio,我已经完成了-2017版。 我正在尝试在需要C ++编译器的python3中构建pypoisson,出现此错误:
pytest-mock
我查看了我的系统变量,并在路径中找到了前往cl.exe的路径
Event.wait()
和
cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\garyn\PycharmProjects\pointcloudprocessor\venv\lib\site-packages\numpy\core\include -IC:\Users\garyn\PycharmProjects\pointcloudprocessor\venv\include "-IC:\Pr
ogram Files\Python\Python37\include" "-IC:\Program Files\Python\Python37\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\ATLMFC\include" "-IC:\Program Files (x8
6)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\ucrt"
"-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\winrt" "-IC
:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\cppwinrt" /EHsc /Tpsrc\pypoisson.cpp /Fobuild\temp.win-amd64-3.7\Release\src\pypoisson.obj -w -fopenmp
error: command 'cl.exe' failed: No such file or directory
我的系统是64位操作系统和基于x64的处理器
在Windows中搜索cl.exe会在以下目录下返回8种可能性:C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\Hostx64\x64\cl.exe
在Hostx64和Hostx86中有些
有什么想法吗?我已经坚持了几个月了。
#编辑在运行时:pip安装git + https://github.com/mmolero/pypoisson.git
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin