A导出依赖
pip freeze >requirements.txt
B导入安装依赖
pip install -r requirements.txt
使用下面的命令安装依赖能自动跳过安装错误的依赖包,继续安装!
while read requirements; do pip install $requirements; done < requirements.txt
2023-11-23 08:57:22
A导出依赖
pip freeze >requirements.txt
B导入安装依赖
pip install -r requirements.txt
使用下面的命令安装依赖能自动跳过安装错误的依赖包,继续安装!
while read requirements; do pip install $requirements; done < requirements.txt