[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Error when updating user Python packages



On Sun, Feb 20, 2022, 2:21 AM Christian Britz <cbritz@t-online.de> wrote:


On 2022-02-20 03:35 UTC+0100, Nicholas Geovanis wrote:

> Probably you should be using the pip3 command instead. It may not be
> installed,
> so I think this will install it:
>  sudo apt-get install python3-pip

python3-pip is installed. I think it came with the Debian installer.

It makes no difference. Actually both commands report version 20.3.4
from /usr/lib/python3/dist-packages/pip.

Interesting output of the file size:
-rwxr-xr-x 1 root root  941  1. Jul 2021  /usr/bin/pip
-rwxr-xr-x 1 root root  943  1. Jul 2021  /usr/bin/pip3

I would have expected pip to be just a symlink to pip3.

Me too, and that's one of the interesting things. Looking at the stack trace you posted, it's clearly looking for many python3 libraries. But also some that appear to be for 2.x. Maybe it's finding a backlevel module somewhere and failing on it.

Regards,
Christian

--
http://www.cb-fraggle.de


Reply to: