我在Windows 10上并尝试为python(3.5)安装mrpt。
pip install git+https://github.com/teemupitkanen/mrpt/
返回
c:\python35\include\pyconfig.h(68): fatal error C1083: Cannot open include file: 'io.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\bin\\cl.exe' failed with exit status 2
尝试按照here启动C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat
。它将文件io.h
文件添加到我添加到系统路径的文件夹C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\include
中。但是当我发起pip install ...
我还尝试从 Visual c + + 2015 x86 x64交叉构建工具命令提示符启动pip install ...
但是现在,我有另一个错误
cpp/mrptmodule.cpp(14): fatal error C1083: Cannot open include file: 'sys/mman.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2
不知道该怎么做。任何帮助