Skip to content
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

not working on ubuntu 18.04 #10

Closed
besingamkb opened this issue Jul 2, 2019 · 2 comments
Closed

not working on ubuntu 18.04 #10

besingamkb opened this issue Jul 2, 2019 · 2 comments

Comments

@besingamkb
Copy link

Hi after installing the requirements because I only have python 2.7. yterm command is not working on my end. I got this error.

$ yterm
Traceback (most recent call last):
  File "/home/mark/.local/bin/yterm", line 6, in <module>
    from yTermPlayer.__main__ import main
  File "/home/mark/.local/lib/python3.6/site-packages/yTermPlayer/__main__.py", line 11, in <module>
    from .music_api import YoutubePlayer
  File "/home/mark/.local/lib/python3.6/site-packages/yTermPlayer/music_api.py", line 11, in <module>
    import mpv
  File "/home/mark/.local/lib/python3.6/site-packages/mpv.py", line 42, in <module>
    raise OSError("Cannot find libmpv in the usual places. Depending on your distro, you may try installing an "
OSError: Cannot find libmpv in the usual places. Depending on your distro, you may try installing an mpv-devel or mpv-libs package. If you have libmpv around but this script can't find it, maybe consult the documentation for ctypes.util.find_library which this script uses to look up the library filename.
@4shadoww
Copy link
Contributor

4shadoww commented Jul 2, 2019

Have you installed libmpv? Package libmpv-dev should provide it on ubuntu.

@vaibkumr
Copy link
Owner

vaibkumr commented Jul 2, 2019

python mpv is only a wrapper around libmpv for ubuntu
also, this does not support python 2.7

@vaibkumr vaibkumr closed this as completed Jul 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants