GuardKenzie / miniplayer

A curses based mpd client with basic functionality and album art.
MIT License
119 stars 8 forks source link

Cannot install ueberzug from PyPi. #33

Open Minesweeper76 opened 1 year ago

Minesweeper76 commented 1 year ago

I cannot find any suitable package for that dependency. I am running Fedora 37 with Linux kernel 6.0.10

Can someone help me?

Relevant error message:

Could not find suitable distribution for Requirement.parse('ueberzug')
GuardKenzie commented 1 year ago

It seems that the maintainer of Überzug has decided to discontinue the project and removed it from PyPi.

While I search for a suitable replacement, you can work around this by cloning an older commit of Überzug and installing manually.

Hope this helps!

Minesweeper76 commented 1 year ago

It seems that the maintainer of Überzug has decided to discontinue the project and removed it from PyPi.

While I search for a suitable replacement, you can work around this by cloning an older commit of Überzug and installing manually.

Hope this helps!

Thanks! I will try it and let you know

Minesweeper76 commented 1 year ago

I tried what you mentioned above and the installation worked. But after installing, nothing is showing when I run the command:

sudo miniplayer

not even an error message I don't know why it is happening.

GuardKenzie commented 1 year ago

Please don't run miniplayer as root. What happens if you skip the sudo? Also, what is the output of where miniplayer.

Make sure you have curses and mpd installed.

Please also post the contents of your mpd config, and the miniplayer config if you have it configured.

Minesweeper76 commented 1 year ago

Here is the output without sudo:

Traceback (most recent call last): File "/usr/local/bin/miniplayer", line 4, in import('pkg_resources').run_script('miniplayer==1.8.0', 'miniplayer') File "/usr/lib/python3.11/site-packages/pkg_resources/init.py", line 672, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/lib/python3.11/site-packages/pkg_resources/init.py", line 1479, in run_script exec(script_code, namespace, namespace) File "/usr/local/lib/python3.11/site-packages/miniplayer-1.8.0-py3.11.egg/EGG-INFO/scripts/miniplayer", line 5, in File "", line 1178, in _find_and_load File "", line 1149, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 936, in exec_module File "", line 1073, in get_code File "", line 1130, in get_data PermissionError: [Errno 13] Permission denied: /usr/local/lib/python3.11/site-packages/pixcat-0.1.4-py3.11.egg/pixcat/init.py

here is the output for where miniplayer:

/usr/local/bin/miniplayer

I did not have mpd installed. After installing I ran the command again but nothing different happened.

Also, the configurations are untouched by me.

GuardKenzie commented 1 year ago

It looks like your pixcat installation is broken. Try reinstalling with pip running as user.

If you need further assistance, please open a new issue.