Skip to content

"Failed building wheel for vowpalwabbit" #5023

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
stepanveret opened this issue Feb 9, 2018 · 4 comments
Closed

"Failed building wheel for vowpalwabbit" #5023

stepanveret opened this issue Feb 9, 2018 · 4 comments
Labels
auto-locked Outdated issues that have been locked by automation

Comments

@stepanveret
Copy link

stepanveret commented Feb 9, 2018

  • Pip version: 9.0.1
  • Python version: 3.6.4
  • Operating system: Microsoft Windows 10 Home Edition

Description:

I tried to install vowpal wabbit with pip, the following error occured.

What I've run

('tensorflow' here is a name of the Anaconda environment. Anyway, exactly the same error occurs when I run pip install vowpalwabbit in my 'base' environment)

(tensorflow) C:\Users\Stepan>pip install vowpalwabbit

Collecting vowpalwabbit
  Using cached vowpalwabbit-8.4.0.tar.gz
Building wheels for collected packages: vowpalwabbit
  Running setup.py bdist_wheel for vowpalwabbit ... error
  Complete output from command C:\Users\Stepan\Anaconda2\envs\tensorflow\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\Stepan\\AppData\\Local\\Temp\\pip-build-spvze3s9\\vowpalwabbit\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d C:\Users\Stepan\AppData\Local\Temp\tmpkp44c8hjpip-wheel- --python-tag cp36:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-3.6
  creating build\lib.win-amd64-3.6\vowpalwabbit
  copying vowpalwabbit\pyvw.py -> build\lib.win-amd64-3.6\vowpalwabbit
  copying vowpalwabbit\sklearn_vw.py -> build\lib.win-amd64-3.6\vowpalwabbit
  copying vowpalwabbit\__init__.py -> build\lib.win-amd64-3.6\vowpalwabbit
  running egg_info
  writing vowpalwabbit.egg-info\PKG-INFO
  writing dependency_links to vowpalwabbit.egg-info\dependency_links.txt
  writing top-level names to vowpalwabbit.egg-info\top_level.txt
  reading manifest file 'vowpalwabbit.egg-info\SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no files found matching '*.dll' under directory 'bin'
  warning: no previously-included files matching '*.o' found anywhere in distribution
  warning: no previously-included files matching '*.exe' found anywhere in distribution
  warning: no previously-included files matching '*.pyc' found anywhere in distribution
  writing manifest file 'vowpalwabbit.egg-info\SOURCES.txt'
  running build_ext
  error: [Errno 2] No such file or directory: 'C:\\Users\\Stepan\\AppData\\Local\\Temp\\pip-build-spvze3s9\\vowpalwabbit\\bin\\pyvw36.dll'

  ----------------------------------------
  Failed building wheel for vowpalwabbit
  Running setup.py clean for vowpalwabbit
Failed to build vowpalwabbit
Installing collected packages: vowpalwabbit
  Running setup.py install for vowpalwabbit ... error
    Complete output from command C:\Users\Stepan\Anaconda2\envs\tensorflow\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\Stepan\\AppData\\Local\\Temp\\pip-build-spvze3s9\\vowpalwabbit\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\Stepan\AppData\Local\Temp\pip-2tfq4lc2-record\install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.6
    creating build\lib.win-amd64-3.6\vowpalwabbit
    copying vowpalwabbit\pyvw.py -> build\lib.win-amd64-3.6\vowpalwabbit
    copying vowpalwabbit\sklearn_vw.py -> build\lib.win-amd64-3.6\vowpalwabbit
    copying vowpalwabbit\__init__.py -> build\lib.win-amd64-3.6\vowpalwabbit
    running egg_info
    creating vowpalwabbit.egg-info
    writing vowpalwabbit.egg-info\PKG-INFO
    writing dependency_links to vowpalwabbit.egg-info\dependency_links.txt
    writing top-level names to vowpalwabbit.egg-info\top_level.txt
    writing manifest file 'vowpalwabbit.egg-info\SOURCES.txt'
    reading manifest file 'vowpalwabbit.egg-info\SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no files found matching '*' under directory 'src'
    warning: no files found matching '*.dll' under directory 'bin'
    warning: no previously-included files matching '*.o' found anywhere in distribution
    warning: no previously-included files matching '*.exe' found anywhere in distribution
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    writing manifest file 'vowpalwabbit.egg-info\SOURCES.txt'
    running build_ext
    error: [WinError 2] ═х єфрхЄё  эрщЄш єърчрээ√щ Їрщы

    ----------------------------------------
Command "C:\Users\Stepan\Anaconda2\envs\tensorflow\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\Stepan\\AppData\\Local\\Temp\\pip-build-spvze3s9\\vowpalwabbit\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\Stepan\AppData\Local\Temp\pip-2tfq4lc2-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\Stepan\AppData\Local\Temp\pip-build-spvze3s9\vowpalwabbit\
@dpalbrecht
Copy link

dpalbrecht commented Mar 2, 2018

I'm having what looks like this same issue - what was the fix?

@stepanveret
Copy link
Author

stepanveret commented Mar 3, 2018

Hi @dpalbrecht.
Actually there is no need to install vowpalwabbit as a python package. It should work from console (or from jupyter notebook with commands beginning with !vw. You can download msi file from here https://github.com/eisber/vowpal_wabbit/releases, install, then add directory C:\Program Files\VowpalWabbit (or any other directory where it will be installed) to your system Path variable. And it will work.
I am still a bit confused, what this python package is for if you can use vowpal wabbit from console.

@aazim-lakhani
Copy link

Stumbled across this page as i'm facing the same issue. @stepanveret , you may have figured, if not, it'll help others. The python package is useful for those who would like to use VW with python instead of the command line

@lock
Copy link

lock bot commented May 31, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label May 31, 2019
@lock lock bot locked as resolved and limited conversation to collaborators May 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation
Projects
None yet
Development

No branches or pull requests

3 participants