发布网友
共1个回答
热心网友
如果是可以通过pip安装的库,可以这样:
1. 打开cmd,输入pip freeze >requirements.txt回车后,保存这个配置文件
2. 在新主机中cmd,输入pip install requirements.txt,会将你原有的库全部自动安装的