Giter VIP home page Giter VIP logo

Comments (3)

soma-gyore avatar soma-gyore commented on September 17, 2024

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:

  1. Use 32 bit portable python
  2. Build a 64 bit mpv-1.dll

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.

jaseg avatar jaseg commented on September 17, 2024

@docoprusta Thank you for that explanation.

from python-mpv.

jaseg avatar jaseg commented on September 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.