Import Error in __init__.py : No Module named _vlfeat in PyVlfeat

786 views Asked by At

I am trying to run this python rewrite of Vlfeat library. https://github.com/shackenberg/phow_caltech101.py. I am trying to run the application phow_caltech101.

This is throwing

File "/A/B/C/pyvlfeat-0.1.1a3/vlfeat/__init__.py", line 1, in <module>
import _vlfeat
ImportError: No module named _vlfeat

In the corresponding "init.py" file, I can see it is mentioned as "import _vlfeat". I am new to python, please let me know what is causing this error?

1

There are 1 answers

4
Amar Kalabić On

You need to download and install PyVlfeat module.

https://pypi.python.org/pypi/pyvlfeat/

As I see, pyvlfeat has some dependencies, so be sure to download these too:

Boost.Python (tested against version 1.35.0-5) NumPy (tested against version 1.5.1) Matplotlib (tested against version 0.99.3)