volitank / nala

Nala is a front-end for libapt-pkg.
GNU General Public License v3.0
1.33k stars 49 forks source link

Multiple errors in recent days after weeks of Nala working fine here in the latest Ubuntu LTS. #16

Closed TofuWand closed 8 months ago

TofuWand commented 1 year ago

nala Traceback (most recent call last): File "/usr/bin/nala", line 5, in from nala.main import main File "/usr/lib/python3/dist-packages/nala/main.py", line 30, in import nala.fetch as _fetch # pylint: disable=unused-import File "/usr/lib/python3/dist-packages/nala/fetch.py", line 37, in import typer File "/usr/lib/python3/dist-packages/typer/init.py", line 12, in from click.termui import get_terminal_size as get_terminal_size ImportError: cannot import name 'get_terminal_size' from 'click.termui' (/usr/local/lib/python3.10/dist-packages/click/termui.py) Screenshot from 2023-06-26 20-20-32

...

Also, great sonic image for Nala! Haha. I know it was a cat, before. Now, it's a character I grew up with as a kid born in 89, as a 90s kid. ^_^ <3 🤝

volitank commented 11 months ago

Looks like it's not using the click library in the system directory. Using usr/local/lib/python3.10/dist-packages/click/termui.py.

This likely means that something you have installed with pip requires a version of click that is incompatible. Stupid Python problems. Is there anything you might have installed using pip that brought this in?

To fix is running sudo pip uninstall click will fix nala, but might break whatever pip program is using it.

TofuWand commented 11 months ago

Thanks! Yeah, quite problematic with that, but thankfully it got resolved after I was assisted on GitLab. I read on the software page that GitLab is faster to get a response than here for Nala. The issue got resolved a while back. I do appreciate your time, that you were wanting to help me, and the nice message that you sent. 😅🤝😌🤓😎 Have a great day/night! Ciao. :3

On Tue, 1 Aug 2023, 1:50 am volitank, @.***> wrote:

Looks like it's not using the click library in the system directory. Using usr/local/lib/python3.10/dist-packages/click/termui.py.

This likely means that something you have installed with pip requires a version of click that is incompatible. Stupid Python problems. Is there anything you might have installed using pip that brought this in?

To fix is running sudo pip uninstall click will fix nala, but might break whatever pip program is using it.

— Reply to this email directly, view it on GitHub https://github.com/volitank/nala/issues/16#issuecomment-1658880821, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4DEDFQPYZACV4C7KNHBTLLXS7V7BANCNFSM6AAAAAAZUCXYLY . You are receiving this because you authored the thread.Message ID: @.***>