-
Notifications
You must be signed in to change notification settings - Fork 641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation problems mpsyt not found #818
Comments
Le dimanche 01 avril 2018 à 02:26:37 (-0700), amodeo12 a écrit :
Hi everyone,
Hello !
After installing mps-youtube in RPi with Raspbian Jessie following
the instructions (with pip3) I try to execute it and I get the error:
Can you tell what the output of :
$ mpsyt -v
$ python -V
$ pip -V
If your system use python Python 2.7, you will not see things installed
with pip3, but only thoses installed with pip2 !
++
Romain
--
si l'abbé Reumaux dit
dix mots, rebelle à six :
syllabaire maudit !
dîme au rebelle assis.
-- Schulz, Rémi
|
mpsyt has incredibly slow startup time on a RPi (I have been there). It usually takes around 15 seconds on my RPi 2, but I have seen it taking up to 30 seconds to just startup. So just give it enough time to start up (Wait for atleast a minute). One of the main reasons for the slow startup is youtube-dl. They have done an experimental lazy-loading-extractor feature (ytdl-org/youtube-dl#8497) which should improve the speed, but I've never tried it with mpsyt. Feel free to try and report back here. |
Getting same error pi@raspberrypi:~ $ mpsyt -v UPDATE: |
I am going to close this as @amodeo12 was able to fix the original issue Also as @vn-ki mentioned, it indeed takes a while for mps-youtube to launch on low powered devices like Raspberry Pi, etc. So, grab a coffee and wait. If it takes insanely long (like 5 mins+), please open a separate issue instead. |
Hi everyone,
After installing mps-youtube in RPi with Raspbian Jessie following the instructions (with pip3) I try to execute it and I get the error:
-bash: mpsyt: command not found
I have also installed youtube-dl and tried to include the path /usr/local/bin in $PATH (not sure if I did it correctly though). I have reinstalled several times, in some of them I didn't get the error, but it didn't start anyway, just prompted for a while and when I interrupted with Ctrl+C I got some library error related with youtube-dl.
Just ask if you any other information. Thank you in advance
EDIT:
After another reinstallation I am getting the error when I make Keyboard Interrupt, it says:
CTraceback (most recent call last):
File "/usr/local/bin/mpsyt", line 7, in
from mps_youtube import main
File "/home/pi/.local/lib/python3.5/site-packages/mps_youtube/init.py", line 8, in
init.init()
File "/home/pi/.local/lib/python3.5/site-packages/mps_youtube/init.py", line 67, in init
load_player_info(config.PLAYER.get)
File "/home/pi/.local/lib/python3.5/site-packages/mps_youtube/util.py", line 408, in load_player_info
g.mpv_version = _get_mpv_version(player)
File "/home/pi/.local/lib/python3.5/site-packages/mps_youtube/util.py", line 446, in _get_mpv_version
o = subprocess.check_output([exename, "--version"]).decode()
File "/usr/lib/python3.5/subprocess.py", line 316, in check_output
**kwargs).stdout
File "/usr/lib/python3.5/subprocess.py", line 383, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.5/subprocess.py", line 676, in init
restore_signals, start_new_session)
File "/usr/lib/python3.5/subprocess.py", line 1244, in _execute_child
part = os.read(errpipe_read, 50000)
KeyboardInterrupt
The text was updated successfully, but these errors were encountered: