skip to Main Content

No module named 'distutils.cmd' with Python3.9 in Ubuntu 22.04

I've created a virtual environment of Python3.9 with Pycharm but when I try to install the packages in requirements, I get this error: Error: Traceback (most recent call last): File "/snap/pycharm-professional/401/plugins/python/helpers/packaging_tool.py", line 85, in run_pip runpy.run_module(module_name, run_name='__main__', alter_sys=True) File "/usr/lib/python3.9/runpy.py",…

VIEW QUESTION

On CentOS, how do I build Python 3.9 from source while incorporating my openssl module?

I'm trying to build Python 3.9.1 with SSL support on CentOS 7. [myuser@server Python-3.9.1]$ which openssl /usr/local/bin/openssl [myuser@server Python-3.9.1]$ openssl version OpenSSL 1.1.1g 21 Apr 2020 Running this command sudo ./configure CPPFLAGS="-I/usr/local/openssl/include" LDFLAGS="-L/usr/local/openssl/lib" --with-ssl followed by "make" worked for Python…

VIEW QUESTION
Back To Top
Search