临时设置国内源导出当前已安装的包安装已导出的包 临时设置国内源pip install -i https://pypi.tuna.tsinghua.edu.cn/simple Scrapy 导出当前已安装的包pip freeze > requirements.txt # windows系统pip freeze | requirements.txt # linux系统 安装已导出的包# 升级pip到最新版pip install --upgrade pippip install -r requirements.txt