-
Notifications
You must be signed in to change notification settings - Fork 354
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
Installing on Windows #38
Comments
I am working on this. The setup script was never intended to work on Windows. (For example, it calls The key difficulty is linking PyAV to the libraries that it requires: this is simply harder to do on Windows than it is on Unix/OSX. If you can help, please share anything you learn in issue #34. |
My experience building Python extensions for Windows is effectively zero, and I personally have no idea where to start. (I'm not a Windows user, if it wasn't obvious.) I don't think there is anything stopping PyAV from supporting Windows, but I personally will not be able to maintain it, or reliably test it. Unfortunately, I don't think Travis supports Windows. It would be really awesome if there could be some sort of automatic verification that goes along with Windows support, so that we can make sure we don't break it in the future. |
I have heard that ContinuumIO is working on something like this. Meanwhile, I set up 32-bit and 64-bit Windows 7 Virtual Machines on my MacBook. I have no particular expertise, but I have wasted many hours trying to make Python packages work on Windows for my collaborators. I'm ready to learn how to do this right. |
This just in from the conda mailing list: a working example of continuous integration builds on Windows "Appveyor," a .NET-based answer to Travis-CI. As with Travis, open-source builds are free. https://ci.appveyor.com/project/rmcgibbo/python-appveyor-conda-example Seems likely that the big projects will adopt this if it's good. Something to watch.... |
A link for future ref. when one of us gets back to this: http://zeranoe.com/scripts/mingw_w64_build/mingw-w64-build-3.6.2 |
Hi, unfortunately I still have problems with setting up PyAV for Windows. Here some system specs for clarification
Further I use my own build of ffmpeg that I cross-compiled with Ubuntu 14.04 LTS as mentioned in my previous post. Running Did someone already experience this issue? Maybe there is a missing dependency for the setup.py? Best, |
I finally figured out how to build PyAV for Windows. The problem above was caused by my Python version. I had 2.7.10 installed, which was not compatible. Installing an older version (I chose 2.7.6) solved that problem. |
The Python version matters, huh? Interesting... |
Trying to set up PyAV on windows here too. For me, the ideal solution would be a bdist-wheel on PyPI built against the official windows shared ffmeg build. |
like that? https://github.com/MichaelBarz/PyAV/tree/master/dist ;) |
Sure (except I need the 64-bit one). I've modified setup.py to be able to build on windows without ffmpeg source, and using either MSVC python compiler or MinGW. I'll clean it up and PR tomorrow. |
Hi, |
I was wondering if you were able to find the step by step command list or a wheel file for a windows 64bit version... |
hey @vidartf did you manage to create this that PR? still have this diff around? |
Hey. My original PRs are here: https://github.com/mikeboers/PyAV/pulls?q=is%3Apr+author%3Avidartf+is%3Aclosed . Some of these are marked as closed instead of merged, because the repo owner rewrote them partly (so not sure if any commits in repo are in my name). I have no memory of this as it is quite a long while ago. Also, I think this was originally merged, so if it is again not working you might have to do something else. |
@vidartf I do end end up rewriting history a bit with PRs, but I try very hard to retain original authorship information (often I'll be the "committer" and the author is the author; I'm getting better at it. 😛). I'm pretty sure everything found in that link was incorporated in some form or another. |
Hi,
I would like to use PyAV under Python2.7 on windows.
Can you explain me how I can install the plugin?
(I would like a more recent version than the 0.1.0)
Thank you.
Nico
The text was updated successfully, but these errors were encountered: