Skip to content Skip to sidebar Skip to footer

Can't Install Vowpalwabbit Using Pip On Windows 10

I have python 3.7.0 installed on Windows 10 and I can't install Vowpalwobbit. When I use command: pip install vowpalwabbit I get: Building wheels for collected packages: vowpalwa

Solution 1:

I'll paste the response I gave on the issue here:

The Python package includes C++ that needs to be built from source, and is made a bit difficult because the dependencies need to be present too. We are working on making the Python install experience better, but in the meantime here is how I was able to get your situation working on Windows 10 1809 from latest vw master. (Things have changed quite a bit since 8.5.0 which is what is on pip)

  • For Python3.7 I used Boost 1.70 (This is the latest version on vcpkg)
  • I used CMake 3.13 and it was able to resolve the Boost 1.70 dependencies

    1. Install vcpkg
    2. Install dependencies with vcpkg

    vcpkg install zlib:x64-windows
    vcpkg install boost-system:x64-windows
    vcpkg install boost-program-options:x64-windows
    vcpkg install boost-test:x64-windows
    vcpkg install boost-align:x64-windows
    vcpkg install boost-foreach:x64-windows
    vcpkg install boost-python:x64-windows
    vcpkg install boost-math:x64-windows
    vcpkg install boost-thread:x64-windows
    
    1. cd <repo_root>/python
    2. python setup.py --vcpkg-root C:\path\to\vcpkg install
      • Where C:\path\to\vcpkg is the root directory of where you cloned vcpkg

Post a Comment for "Can't Install Vowpalwabbit Using Pip On Windows 10"