VW recently added a python interface, however I am having trouble finding instructions for how to install it. If I install VW from homebrew (brew install vowpal-wabbit) and I open python, and call
import pyvw
I get an ImportError.
I was able to successfully install the Python interface to VW using the following steps. Note that this is on an Ubuntu 14.04 machine with Anaconda Python 2.7.10.
Prerequisites: Boost & miscellaneous Python development libraries:
sudo apt-get install libboost-all-dev
sudo apt-get install python-dev libxml2-dev libxslt-dev
git clone
the Vowpal Wabbit repo & enter the python
directory. make
Vowpal Wabbit & test your installation using python test.py
.import pyvw
should work from within a Python console as well.
pip install vowpalwabbit
should give you the latest version. then do
from vowpalwabbit import sklearn_vw
This will give you scikit's vowpalwabbit
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With