python 使用命令行安装多个库

1、先导出当前python安装过的包存入txt文件中

pip freeze >p.txt

2、 安装该txt中的库
 

pip install -r p.txt

猜你喜欢

转载自blog.csdn.net/qq_42142258/article/details/82824066
今日推荐