tonycpsu / streamglob

A console media browser designed to facilitate live and time-shifted viewing of online content.
GNU General Public License v3.0
34 stars 10 forks source link

ImportError: cannot import name 'MPVError' #48

Closed GTRcktSci closed 3 years ago

GTRcktSci commented 3 years ago

Trying to get this working for mlb, but I get the following error when I try to run my first stream command.

I tried: streamglob mlb/2021-04-23.atl

I get this error: ImportError: cannot import name 'MPVError' from 'aio_mpv_jsonipc.MPV' (/home/pi/.local/lib/python3.7/site-packages/aio_mpv_jsonipc/MPV.py)

I'm sure this is a noob error, so any help would be greatly appreciated!

tonycpsu commented 3 years ago

Try pip install -U git+https://github.com/marios8543/aio-mpv-jsonipc

GTRcktSci commented 3 years ago

EDIT: disregard, fixed that problem by running pip3

Is there a master list of the python dependencies? I'm having to install a bunch of packages one by one as the "No module named XXX" comes up for each one.

tonycpsu commented 3 years ago

My guess is that's related to the fact that you need to run pip3 instead of pip on your system. The dependencies should be installed for you.

GTRcktSci commented 3 years ago

Even with pip3 i still had to manuall install a few dependencies, but was able to get the player to work (for MLBtv). Thanks for the time and support of a great product!