我使用的是Windows7和Python3.6。我试图通过在命令窗口中输入pip install bob
来安装bob包。但我得到了以下错误:
C:\Users\azhidinov_37005\AppData\Local\Programs\boost_1_66_0\boost_1_66_0\libs\p
ython\example\quickstart>C:\Users\azhidinov_37005\AppData\Local\Programs\Python\
Python36\Scripts\pip.exe install bob
Collecting bob
Using cached bob-3.0.0.zip
Requirement already satisfied: setuptools in c:\users\azhidinov_37005\appdata\lo
cal\programs\python\python36\lib\site-packages (from bob)
Requirement already satisfied: bob.extension==2.4.5 in c:\users\azhidinov_37005\
appdata\local\programs\python\python36\lib\site-packages (from bob)
Collecting bob.blitz==2.0.14 (from bob)
Using cached bob.blitz-2.0.14.zip
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\AZHIDI~1\AppData\Local\Temp\pip-build-hpictomi\bob.blitz\se
tup.py", line 70, in <module>
system_include_dirs=system_include_dirs,
File "c:\users\azhidinov_37005\appdata\local\programs\python\python36\lib\
site-packages\bob\extension\__init__.py", line 356, in __init__
boost_pkg = boost(boost_req.replace('boost', '').strip())
File "c:\users\azhidinov_37005\appdata\local\programs\python\python36\lib\
site-packages\bob\extension\boost.py", line 69, in __init__
raise RuntimeError("could not find boost's `version.hpp' - have you inst
alled Boost on this machine?")
RuntimeError: could not find boost's `version.hpp' - have you installed Boos
t on this machine?
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\AZHIDI~1
\AppData\Local\Temp\pip-build-hpictomi\bob.blitz\
之后我从这里下载了boosthttp://www.boost.org/users/history/version_1_66_0.html
打开拉链,把它造好。然后分开建造boost.python. 现在我把它们都放在根目录下了。但是当类型pip install bob
stil得到同样的错误。我想python找不到boost目录。我该怎么办?请帮忙!在
发件人:https://www.idiap.ch/software/bob/install
为了让Bob在Windows上工作,我们已经做了一些努力:
如果你有兴趣和经验,你可以贡献。在
尝试:
或者 https://sourceforge.net/projects/boost/files/boost-binaries/1.53.0/
相关问题 更多 >
编程相关推荐