Windows'io.h'/'sys / mman.h'上的Python包安装失败:没有这样的文件或目录

时间:2017-05-22 16:23:16

标签: python python-3.x package

我在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

不知道该怎么做。任何帮助

0 个答案:

没有答案