导出依赖环境requirements.txt文件-pipreqs

pipreqs

step1:
pip install pipreqs
step2:
pipreqs ./ --encoding=utf8
step3:
pip install -r requirements.txt
#临时换源
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt

你可能感兴趣的:(深度学习,python,linux,深度学习)