Installing python3 modules

Mats Wichmann mats at wichmann.us
Sat Dec 26 13:50:16 EST 2020


On 12/26/20 10:13 AM, Rich Shepard wrote:
> Running Slackware-14.2/x86_64 here. I'm trying to learn if any installed
> applications are still dependent on Python2 (version 2.7.17 installed) as
> its EOL is this coming Thursday and I want to clean out all Python2 modules
> and replace them with their Python3 versions (3.9 installed here). This
> raises several questions.
> 
> First, I had to remove, reinstall, and upgrade pip. The pip web page says
> it's compatible with python2 and 3 through 3.8. Does this mean it still 
> does
> not support Python3.9?

pip supports 3.9 fine, and is just about to lose support for 2.x entirely.

> 
> Second, pip installed itself in /usr/lib64/python2/site-packages/, not the
> python3.9/site-packages/ directory. There's not a pip3 so how do I get pip
> and all other python modules in the python3.9/site-packages/ directory?

this sounds like a Slack packaging issue, have you checked with 
appropriate forums_


More information about the Python-list mailing list