[Tutor] ModuleNotFoundError: No module named 'mysql' in Python 3.10.0 (default, Nov 6 2021, 14:56:25) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] on linux

Matt Ruffalo matt.ruffalo at gmail.com
Sun Nov 7 09:13:52 EST 2021


On 06/11/21 05:41, Kaushal Shriyan wrote:
> Hi,
>
> I have downloaded Python 3.10.0 on CentOS Linux release 7.9.2009 (Core). I
> have the below openssl and mariadb package installed on CentOS 7.9
>
> # rpm -qa | grep openssl
> openssl-libs-1.0.2k-22.el7_9.x86_64
> openssl-devel-1.0.2k-22.el7_9.x86_64
> openssl-1.0.2k-22.el7_9.x86_64
Hello-

As of Python 3.10, OpenSSL 1.1.1 or newer is required: 
https://www.python.org/dev/peps/pep-0644/

This means that you have effectively compiled Python with no SSL/TLS 
support, hence pip failing to download packages.

MMR...


More information about the Tutor mailing list