kislyuk / argcomplete

Python and tab completion, better together.
https://kislyuk.github.io/argcomplete/
Apache License 2.0
1.41k stars 134 forks source link

How can I get rid of argcomplete? #388

Closed papioara closed 1 year ago

papioara commented 1 year ago

Hello, I have a strange problem after upgrading to Linux Mint 21: my bash windows show argcomplete error messages about something which cannot be parsed (but not saying what it is).

StrangeTerminalError

I have already done multiple times

pip3 uninstall argcomplete

and by now the feedback is:

pip3 uninstall argcomplete WARNING: Skipping argcomplete as it is not installed.

Yet, when I do 'locate -iA argcomplete', I still see a lot of files in /usr/local/lib, /usr/local/bin, /home/USER/.local/lib and /etc with argcomplete in the file names. Do I have to delete them all manually? Would that be safe? I better ask before taking action.

I never had this problem under Linux Mint 20.3. It only occurs now, but I have no clue why, and what has changed. I would be very grateful for assistance. Thank you in advance!

kislyuk commented 1 year ago

Thanks for your interest in argcomplete. When you install argcomplete using pip, it keeps track of executables installed as part of the installation process, and can remove them when you run pip uninstall. If that's not happening, that probably means the pip that you're running is not the same pip that installed the package.

It is safe to remove all scripts that belong to argcomplete if you wish to uninstall it.