python生成和安装requirements.txt

python 生成requirements.txt

python.exe -m pip freeze > requirements.txt

安装

pip install -r requirements.txt -i 镜像

pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/

你可能感兴趣的:(python,pycharm,python学习,python)