proxy_pool 使用nohup命令在后台跑 会提示config模块不存在

92dk7w1h  于 4个月前  发布在  其他
关注(0)|答案(2)|浏览(52)

No description provided.

nvbavucw

nvbavucw1#

nohup: ignoring input
Traceback (most recent call last):
File "/home/proxy_pool/cli/proxyPool.py", line 21, in
from Config.setting import HEADER
ImportError: No module named 'Config'

vddsk6oq

vddsk6oq2#

@Funny-dot

ubuntu@VM-1-255-ubuntu:~/proxy_pool/cli$ pwd
/home/ubuntu/proxy_pool/cli
ubuntu@VM-1-255-ubuntu:~/proxy_pool/cli$ nohup python proxyPool.py schedule &
[1] 21340
ubuntu@VM-1-255-ubuntu:~/proxy_pool/cli$ nohup: ignoring input and appending output to 'nohup.out'

ubuntu@VM-1-255-ubuntu:~/proxy_pool/cli$ 
ubuntu@VM-1-255-ubuntu:~/proxy_pool/cli$ tail -f nohup.out 
2020-01-03 15:06:48,246 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy04: 183.45.172.163:8318  success
2020-01-03 15:06:48,246 ProxyManager.py[line:57] INFO ProxyFetch - freeProxy04: 117.88.177.3:3000    exist
2020-01-03 15:06:48,247 ProxyManager.py[line:57] INFO ProxyFetch - freeProxy04: 183.220.145.3:80     exist
2020-01-03 15:06:48,247 ProxyManager.py[line:57] INFO ProxyFetch - freeProxy04: 218.60.8.99:3129     exist
2020-01-03 15:06:48,247 ProxyManager.py[line:57] INFO ProxyFetch - freeProxy04: 39.137.107.98:80     exist
2020-01-03 15:06:48,247 ProxyManager.py[line:57] INFO ProxyFetch - freeProxy04: 39.137.69.7:8080     exist
2020-01-03 15:06:48,248 ProxyManager.py[line:57] INFO ProxyFetch - freeProxy04: 112.95.204.180:8888  exist
2020-01-03 15:06:48,248 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy04: 117.57.90.193:12219  success
2020-01-03 15:06:48,248 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy04: 117.69.200.65:12219  success

相关问题