Comments (3)
Hi,
I assume your error message is "OSError: [WinError 193] %1 is not a valid Win32 application" (it is not on your posted backtrace but I tried to use it with portable python and I received the same error message as you with the oserror).
The problem is that you are trying to use a 32 bit dll with a 64 bit python.
You have two options:
If you are not familiar with building mpv and you have no reason to use 64bit python the first option is easier.
You should place mpv files where your python.exe is. So I placed mpv.exe, mpv.com and mpv-1.dll to WinPython-32bit-3.6.3.0Zero/python-3.6.3/ (where python.exe is).
I hope this solves your problem. I am just a user of this project and I tried to use it with portable python as you and it throwed error with portable python 64 bit but it worked with portable python 32 bit for me.
I have not tried to build mpv for 64 bit but I assume it is also a good solution.
from python-mpv.
@docoprusta Thank you for that explanation.
from python-mpv.
I have changed the title of the issue to match the error message @docoprusta mentioned to make this issue easier to find for other people with the same problem.
from python-mpv.
Related Issues (20)
- python-mpv not finding libmpv DLL on MSYS2 HOT 7
- no-border not working as intended HOT 1
- tests/test_mpv.py::TestLifecycle::test_wait_for_event_shutdown hangs HOT 1
- Audio controls
- I do not literally know which DLLs does it need to consume HOT 2
- How to directly play audio bytes? HOT 2
- "Cannot find libmpv in the usual places" on Arch Linux, Hypnotix HOT 2
- How to replace mpv.MpvEventID.METADATA_UPDATE ? HOT 2
- Loadfile command broken by API change in mpv v0.38.0 HOT 5
- The PyPI package is not up to date HOT 3
- playlist_next() and playlist_prev() beyond end of playlist causes SystemError HOT 1
- [QUESTION] How do I add custom scripts? HOT 2
- QOpenGLWidget is displayed in its own window since ibmpv.so.2.3.0 HOT 3
- SyntaxError on Mac os with python3 on v1.0.6 HOT 2
- Unable to set Gapless Playback option HOT 3
- Is it possible to read music files from an USB key or HD ? HOT 1
- trying to capture mouse clicks when running mpv HOT 2
- wait_until_playing and wait_for_property throws exception HOT 3
- wait_until_playing() seems to be triggered too early HOT 2
- How to set User-Agent? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-mpv.