You are not logged in.

#1 2024-05-04 10:12:42

sweetthdevil
Member
Registered: 2009-10-20
Posts: 426

Package install with PIP no longer working since update early this wee

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. archlinux

I 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

#2 2024-05-04 10:57:16

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: Package install with PIP no longer working since update early this wee

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

#3 2024-05-04 10:59:29

sweetthdevil
Member
Registered: 2009-10-20
Posts: 426

Re: Package install with PIP no longer working since update early this wee

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

#4 2024-05-04 11:34:03

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: Package install with PIP no longer working since update early this wee

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

Board footer

Powered by FluxBB