python扩展包覆盖安装
【第一种方法】
1、重装前把C:\Python36整个目录备份到别的磁盘,如“D:\Python36”
C:\Python36
2、重装系统后,下载Python36的安装文件重新装一哈,就装在c:/Python36目录,设置好环境变量
3、删除上一步装好的c:/Python36目录,把你备份的目录复制到C盘,命名为c:/Python36
【第二种方法】
(较费时间和网络)
1、open CMD Run this command at your old system:
pip freeze > requirements.txt
2、copy this export txt file to the new system and run:
pip install -r requirements.txt
python 一键升级所有包
1、create a new python fil