-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
module 'mpv' has no attribute 'MPV' #60
Comments
Ah, ok. Your first error sounds like it was trying to use something but this project's The second error is because it can't find the libmpv dll. Try to find out where that was installed, then try to make Windows find it. This might mean e.g. adding mpv's installation directory to your |
I dig a bit into this. And I finally managed to get everything working. So installation process is something like that:
If you have Python 32 bit, make sure to download 32 bit mpv-1.dll or 64 bit if you're having Python 64 bit. DLL have to match Python bit versions. |
Since it seems to work for you I'll close this issue for now. If you have any more questions, feel free to re-open it or create a new one. I have added a section on supported platforms with a link to this issue to the README in 243414d . |
I use chocolatey to install mpv: |
I'm not on Windows, but may I ask how is that easier? I agree on putin the dll to where |
Well, install mpv via But pipenv is not necessary, I just mention it for my env. BTW, put |
I'm a bit confused, so need one manually copy |
Hi,
Enviroment:
Windows 10 x64
Python 3.6
python-mpv 0.3.7
youtube-dl 2017.12.14
mpv 2017.09.13
I'm trying out examples provided in readme.md.
But I get following error:
module 'mpv' has no attribute 'MPV'
I tried playing around and now I get different error when importing mpv module:
The text was updated successfully, but these errors were encountered: