0

I'm trying to install pyvlfeat on python in Windows. For installing this module, I had to install boost.python. I installed and compiled the boost with bjam --with-python toolset=gcc --layout=tagged

After this I tried to install pyvlfeat by python setup.py install but at the end of the building process error showed up cannot find -lboost_python-mt-py26.

How do I fix it?

RedBaron
  • 4,717
  • 5
  • 41
  • 65
Aress
  • 177
  • 1
  • 5
  • 11

2 Answers2

1

I'm using data taken from here: For pyvlfeat, change the setup.py entry:

LinkArgs = ['-msse', '-shared', '-lboost_python-mt-py26']

to

LinkArgs = ['-msse', '-shared', '-lboost_python-mt-py27']

then run python setup.py install

zuuz
  • 859
  • 1
  • 12
  • 23
0

you may need to install boost.python first how to install python.boost

or if you have installed boost.python,you may do as follows:

change setup.py

LinkArgs = ['-msse', '-shared', '-lboost_python-mt-py26']

to

LinkArgs = ['-msse', '-shared', '-lboost_python-py26'] or

LinkArgs = ['-msse', '-shared', '-lboost_python-py27']

(-pyxx depends which version of python your installed)

then run:(sudo) python setup.py install

Community
  • 1
  • 1
pinnace
  • 71
  • 3