文章目录
Python常见问题处理记录
一、Python使用pip报错和安装pyinstaller报错
1.使用pip报错
D:\date\IDEA\Game\PyInstaller-3.4>pip install pyinstaller
'pip' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
解决方案:添加环境变量
新增系统变量:
变量名:PYTHON_HOME
变量值:D:\software\anaconda3\Scripts
修改path变量:
添加:%PYTHON_HOME%
2.使用pip安装pyinstaller报错
D:\date\IDEA\Game\PyInstaller-3.4>pip install pyinstaller
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
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.")': /simple/pyinstaller/
WARNING: Retrying (Retry(total=3, 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.")': /simple/pyinstaller/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can'
1万+



被折叠的 条评论
为什么被折叠?



