2017-05-04 57 views
0

我嘗試安裝在我的VPS此池腳本: https://github.com/jamescoxon/rai_quarry_pool如何解決'工人無法啓動'?

我做的第一步驟,但後來我有問題:

git clone https://github.com/jamescoxon/rai_quarry_pool.git 
Edit app.py and submit.py and add the address you want the faucet to pay to 
Open screen 
gunicorn --bind 0.0.0.0:5000 app:app 
Detach the screen using Ctrl-A-D 

gunicorn --bind 0.0.0.0:5000應用:應用

給我這個錯誤:

File "/usr/local/lib/python3.5/dist-packages/gunicorn/util.py", line 352, in import_app 
import(module) 
ImportError: No module named 'app' 
[2017-05-04 08:15:42 +0000] [5726] [INFO] Worker exiting (pid: 5726) 
[2017-05-04 08:15:42 +0000] [5723] [INFO] Shutting down: Master 
[2017-05-04 08:15:42 +0000] [5723] [INFO] Reason: Worker failed to boot. 

任何想法嗎?

我也讀過其他帖子,但不能得到它修復。

我可以錄製youtube視頻步驟,如果它有助於理解問題。

回答

0

克隆git回購後,進入文件夾rai_quarry_pool並運行該命令。我想你們正試圖從其他地方執行命令。

+0

sudo su cd/root/rai_quarry_pool yes?我嘗試之前沒有工作,但我現在再試一次,工作哈哈,謝謝你:) –

相關問題