Python PyCharm 无法下载依赖,可通过命令下载,

1、命令窗口进入对应项目的\venv\Scripts\ 目录


2、输入如下命令,如下载PyQt5相关的:



pip install PyQt5 -i https://mirrors.aliyun.com/pypi/simple/


pip install pyqt5-tools -i https://mirrors.aliyun.com/pypi/simple/