Ubuntu configures the python environment

install python

reference blog

Install pycharm

blog

Create a Pycharm shortcut

blog

ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the ‘ssl’ module is compiled with

File “/home/r00t/IdeaProjects/data/venv/lib/python3.9/site-packages/urllib3/init.py”, line 41, in
raise ImportError(
ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the ‘ssl’ module is compiled with ‘OpenSSL 1.0.2g 1 Mar 2016’. See: https://github.com/urllib3/urllib3/issues/2168

The solution is to reduce the version of the urllib library

ModuleNotFoundError: No module named ‘_lzma’

solution

Guess you like

Origin blog.csdn.net/m0_51312071/article/details/131532803