Nugget post: Installing PyVLFEAT

When attempting to install PyVLFEAT (), a simple pip install pyvlfeat fails. Proceeding to the PyPI website (https://pypi.python.org/pypi/pyvlfeat/) we can download the code but again it doesn’t run when attempting the usual

python setup.py build

also fails. The trick to get this installed successfully is first of all to make sure you have the python BOOST library installed as specified in the README. For ubuntu, this is accomplished using:

sudo apt-get install build-essential python-dev python-setuptools libboost-python-dev libboost-thread-dev -y

Next, you need to modify setup.py on two counts: including numpy arrays, and changing an outdated reference to the BOOST library. The modified setup.py file can be seen below: