You are not logged in.
Hello all,
I have two package running on my headless server pyLoad-ng and mnamer that were install using pip.
Both seems to be missing, so I am trying to rebuild those with pip, but I am getting the following error:
× This environment is externally managed
╰─> To install Python packages system-wide, try 'pacman -S python-xyz', where xyz is the package you are trying to install. archlinuxI have tried with pipx, I can install mnamer but then I can't start it using 'python3 -m mnamer' (package not found) and if I run pipx list it mentioned an issue with the simlink.
Are pip install redundant?
Offline
It has been like this for a long time. Right now, pipx is the way to go, so you should see about fixing it.
Offline
So can you uninstall the previously installed package (those install via pip) as I tried and got the same error?
And then cleanly install the package via pipx to avoid the symlink error?
Offline
Anything previously installed with pip --user sits somewhere in ~/.local and can be safely deleted. Anything previously installed with (sudo) pip is a problem and would have been a problem months ago and needs to be carefully purged, so it doesn't conflict with pacman managed files.
Offline