Installing python3 modules

Rich Shepard rshepard at appl-ecosys.com
Sat Dec 26 12:13:13 EST 2020


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?

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?

As an occasional coder (for my own business uses) I'm far from an advanced
python user.

TIA,

Rich


More information about the Python-list mailing list