将程序在centos服务器运行, nohup报错,怎么解决
直接python3 handle_selenium_51job.py可以正常运行程序,但是在关闭对话框,程序自动关闭。 nohup python3 handle_selenium_51job.py >consoleMsg.log 2>&1 &, 已经创建consoleMsg.log文件,更改权限777,但是报错。 [mfloat1@VM_0_14_centos python_dir]$ [1]+ Exit 127 nohup python3 handle_selenium_51job.py > consoleMsg.log 2>&1 [mfloat1@VM_0_14_centos python_dir]$ [mfloat1@VM_0_14_centos python_dir]$ ls consoleMsg.log handle_selenium_51job.py [mfloat1@VM_0_14_centos python_dir]$ vim consoleMsg.log nohup: ignoring input nohup: failed to run command ‘python3’: No such file or directory
12
收起
正在回答 回答被采纳积分+1
1回答
4.入门主流框架Scrapy与爬虫项目实战
- 参与学习 人
- 提交作业 107 份
- 解答问题 1672 个
Python最广为人知的应用就是爬虫了,有趣且酷的爬虫技能并没有那么遥远,本阶段带你学会利用主流Scrapy框架完成爬取招聘网站和二手车网站的项目实战。
了解课程
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星