pycharm安装环境依赖
新创建环境
生成清单 pip freeze > requirements.txt
在已有的清单(requirements.txt)生成所须的包
pip install pip -U (升级pip)
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple (换源)
pip install -r requirements.txt (安装清单的包)
永久配置pip源:
pip config set global.trusted-host xxx.com
pip config set global.index-url xxx.com