我想安装pyvlfeat包。它需要Boost.Python。
当我运行命令时
python.exe setup.py build
我收到以下信息:
C:\Users\alex\Anaconda\Scripts\gcc.bat -DMS_WIN64 -mdll -O -Wall -IC:\Users\A lexkow\AppData\Roaming\Python\Python27\site-packages\numpy\core\include -Ivlfeat / -IC:\Users\alex\Anaconda\include -IC:\Users\alex\Anaconda\PC -c vlfeat/m ser/vl_erfill.cpp -o build\temp.win-amd64-2.7\Release\vlfeat\mser\vl_erfill.o -m sse2 -O2 -fPIC -w In file included from vlfeat/mser/vl_erfill.cpp:7:0: vlfeat/mser/../py_vlfeat.h:18:28: fatal error: boost/python.hpp: No such file or directory
这告诉我Boost.Python没有正确安装在我的计算机上,或者我没有正确启动Python install命令。
软件包安装说明如下:
Building the Module on a Unix System --
The C++ wrappers require Boost.Python to be installed:$ sudo apt-get install boost-python1.35-dev
pyvlfeat uses distutils, so to build the library:
$ python setup.py build
由于我在Windows上无法sudo apt get,所以我下载了boost 1.57.0并将其提取到
C:\Program Files\boost\boost_1_57_0
这并没有改变结果。现在我不知道该怎么办:
当我读到documentation
第3节:“No Install Quick Start”解释了如何构建一个名为extending的扩展模块,并通过运行一个名为test_extending.py的Python脚本对其进行测试。我不认为这是我想要实现的,而且它似乎已经过时了,因为它谈到了bjam构建驱动程序。
第4节:“在您的系统上安装Boost.Python”看起来更难理解,但是它说信息在入门指南中,而不是。
如何在Windows 7上安装Boost.Python以便安装Python包?
目前没有回答
相关问题 更多 >
编程相关推荐