Comments (3)
The reason why this error occurs is because you are using the reuse mpv window option, which calls a function that import a library that was not put into our dependencies list.
So, we forgot to declare a dependency. For a quick fix, you can run python3 -m pip install python-mpv
to fix this issue
from anipy-cli.
It's now asking me to include a mpv-1.dll
or mpv-2.dll
in my system %PATH%, though I don't see to be able to find where I can get this .dll file since it wasn't included with my install.
Edit: I did manage to find a mpv-2.dll
file by extracting a 7zip file I found from mpv's sourceforge but it didn't resolve the issue.
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\Marcus\AppData\Roaming\Python\Python311\Scripts\anipy-cli.exe\__main__.py", line 7, in <module>
File "C:\Users\Marcus\AppData\Roaming\Python\Python311\site-packages\anipy_cli\run_anipy_cli.py", line 8, in main
cli.main()
File "C:\Users\Marcus\AppData\Roaming\Python\Python311\site-packages\anipy_cli\cli.py", line 703, in main
default_cli(args.quality, player)
File "C:\Users\Marcus\AppData\Roaming\Python\Python311\site-packages\anipy_cli\cli.py", line 67, in default_cli
mpv = create_mpv_controllable()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Marcus\AppData\Roaming\Python\Python311\site-packages\anipy_cli\player.py", line 80, in create_mpv_controllable
import mpv
File "C:\Program Files\Python311\Lib\site-packages\mpv.py", line 35, in <module>
raise OSError('Cannot find mpv-1.dll or mpv-2.dll in your system %PATH%. One way to deal with this is to ship '
OSError: Cannot find mpv-1.dll or mpv-2.dll in your system %PATH%. One way to deal with this is to ship the dll with your script and put the directory your script is in into %PATH% before "import mpv": os.environ["PATH"] = os.path.dirname(__file__) + os.pathsep + os.environ["PATH"] If mpv-1.dll is located elsewhere, you can add that path to os.environ["PATH"].
from anipy-cli.
Please refer to the info in the README I added. It seems the .dll is not on your path. Alternatively, like Dabbing-Guy said, you can deactivate the reuse_mpv_window
option in your config.
from anipy-cli.
Related Issues (20)
- Cleaner Documention HOT 3
- [Errno -2] Name or service not known HOT 11
- [Suggestions] Episode numbering for sub-10, and extra config to define show_name separators HOT 3
- Choosing quality not working HOT 6
- Typo in a comment in the config file HOT 2
- anipy-cli: error: requested url not available/blocked: https://gogoanime.gg//search.html?keyword=konosuba: response-code: 522 HOT 1
- An Anime with a period (.) in the title causes issues when Downloading. HOT 2
- Is is possible to modify the way files are downloaded? HOT 13
- Streams take way longer to open with anipy-cli v3.0.3 (up to 1 min) compared to v2.7.31 (instant) HOT 5
- When trying to play from history it throws an error HOT 8
- [Request] Publish a nixpkgs package of anpy-cli HOT 9
- [Feature Request] Add "Select from history" to the main menu while playing an episode HOT 2
- [Feature Request] Add "quit-watch-later" to the main menu HOT 4
- [Feature Request] Add "Add to seasonals" to the main menu HOT 3
- gogoanime url listed as yugenanime.tv in 3.1 documentation HOT 3
- [Feature Request] Change "Add to seasonals" feature so that LocalList gets updated before writing
- [Feature Request] Change "Select from history" feature so that ctrl+z gets you back the the main menu of the currently running stream HOT 2
- [Feature Request] Improve the search feature HOT 3
- [Feature Request] Add "Change quality" feature in main menu HOT 2
- Invalid Format for Directories HOT 7
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 anipy-cli.