[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

Mats Wichmann mats at wichmann.us
Sun Nov 7 09:03:24 EST 2021


On 11/6/21 03:41, Kaushal Shriyan wrote:

> Please guide me and let me know if I am missing anything. 

Well, the error traceback keeps telling you what you're missing:

 > WARNING: pip is configured with locations that require TLS/SSL, 
however the
 > ssl module in Python is not available.
 > WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None,
 > status=None)) after connection broken by 'SSLError("Can't connect to 
HTTPS
 > URL because the SSL module is not available.")':

Getting ssl configured right turns out to be a bit tricky. Do you have 
the openssl developer package installed?  You should be able to find 
some more stuff on the Internet on getting this set up.



More information about the Tutor mailing list