python命令行

python命令行,第1张

python命令行
# >:默认1标准输出重定向 /dev/null:黑洞-丢弃输出 2:标准错误输出流 1:标准输出流 &:后台运行(否则关闭终端程序停止)
sudo nohup python3  run.py > /dev/null 2>&1 &
# run.out记录输出
nohup python -u run.py > run.out 2>&1 &
requirements.txt

requirements.txt中放项目需要引入的包

NumPy==1.19.5
SciPy
sklearn
pandas
matplotlib
fcmaes

使用

sudo pip3 install -r requirements.txt

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/langs/791203.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-05
下一篇2022-05-05

发表评论

登录后才能评论

评论列表(0条)

    保存