Skip to content
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

Python wrapper with Windows Binaries #1176

Closed
klvbdmh opened this issue Jan 26, 2017 · 19 comments
Closed

Python wrapper with Windows Binaries #1176

klvbdmh opened this issue Jan 26, 2017 · 19 comments

Comments

@klvbdmh
Copy link

klvbdmh commented Jan 26, 2017

I've downloaded precompiled Windows binaries from the releases page. Is there any way I can use those binaries with the Python wrapper? I tried to follow the instructions, but I'm missing pyvw35.dll' file. It's not available in the Windows binaries from the .msi installer.

Alternatively, is it possible to make Python Wheels for Vowpal Wabbit?

@eisber
Copy link
Collaborator

eisber commented Jan 26, 2017

@gramhagen can you release a new version for the pip repository?

@gramhagen
Copy link
Contributor

gramhagen commented Jan 26, 2017 via email

@gramhagen
Copy link
Contributor

@eisber released 8.3.2
I also set up a new owner for pypi and testpypi, I can give you the credential info and steps to try and upload new versions. Let me know if that build works for what you need, there are a few changes to the docs and manifest that need to be made, so I'll submit a PR.

@gramhagen
Copy link
Contributor

#1186 is the PR referenced above

@majube
Copy link

majube commented Jan 31, 2017

@gramhagen is version 8.3.2 supposed to work on Python 3.6? pip install vowpalwabbit fails for me with
Exception: Pre-built vw/python library for Windows is not supported at line 108 of setup.py - though interestingly line 108 of setup.py in the master repository contains a different error message ("Pre-built vw/python library for Windows is not supported for this python version").

@eisber
Copy link
Collaborator

eisber commented Jan 31, 2017 via email

@eisber
Copy link
Collaborator

eisber commented Jan 31, 2017 via email

@bratao
Copy link

bratao commented Feb 22, 2017

@eisber Do you have any w32 binary for Python 3.6 ?

@eisber
Copy link
Collaborator

eisber commented Feb 22, 2017 via email

@funkindy
Copy link

funkindy commented Apr 5, 2017

Hello!
I also have a question on how to use precompiled binaries for python wrapper in windows. Is it possible?

@gramhagen
Copy link
Contributor

gramhagen commented Apr 5, 2017 via email

@funkindy
Copy link

funkindy commented Apr 5, 2017

I mean ive downloaded binaries (.msi), extracted them. I now have an ability to use VW with command line interface. Is there any way i can use them to maintain python wrapper?

Thanks.

@Scott-Graham-Bose
Copy link
Contributor

Oh i see. Well, the python package needs to connect to dll’s which are consistent with the commands it uses. It seems like if you have those dlls you could overwrite the ones used by the python package installation, but it might not be that straightforwad. I’m not as familiar with the windows side of the python packaging @eisber might be able to help.

@ODemidenko
Copy link

@eisber I am stuck with the same problem that was mentioned before:

pip install vowpalwabbit fails for me with
Exception: Pre-built vw/python library for Windows is not supported
I have python 3.6 and already install vw from .msi package. But I want to get the python wrapper.

What is the way to do this?
You have previously provided a link to your fork, but I can't get what could be done with it.
I either don't have an opportunity and understanding how to build it myself, as you suggested:

Are you able to build yourself? https://github.com/JohnLangford/vowpal_wabbit/wiki/Windows-Build
It's just tricky to install both VisualStudio versions mentioned there. Besides, it is still unclear how these instructions will help to solve the problem.

I believe, many people are already either facing the problem or will face it soon, upgrading to python 3.6. Probably, this problem deserves a clear solution, available for everybody

@JohnLangford
Copy link
Member

@eisber what's that status of python-on-windows?

@eisber
Copy link
Collaborator

eisber commented Jul 17, 2017

For python 3.6 we're dependent on sergey-shandar/getboost#33 &
https://svn.boost.org/trac10/ticket/13023

@JohnLangford
Copy link
Member

I think we're stuck, so closing this for now.

@sergey-shandar
Copy link

Switch to Boost 1.65 should solve the problem

@arekrob
Copy link

arekrob commented Oct 26, 2017

Is there any progress on this issue? I would also like to use vowpalwabbit with Python 3.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests