4
我已龍頭安裝gunicorn,但gunicorn找不到命令:爲什麼gunicorn命令沒有找到gunicorn安裝?
# pip3.4 install gunicorn
Requirement already satisfied (use --upgrade to upgrade): gunicorn in /usr/local/python3.4/lib/python3.4/site-packages
# gunicorn
-bash: gunicorn: command not found
是什麼問題,是gunicorn安裝路徑不被系統識別?
我假設您已將它安裝到系統和venv 。使用'locate'來查找gunicorn二進制文件並確保該目錄位於PATH中。 –
我不使用venv,gunicorn不在我的系統路徑中,我在系統路徑中創建一個gunicorn並鍵入一些代碼,然後它工作,但它爲什麼不是automaticaly包含在路徑中? –
我不是100%確定。你在使用什麼操作系統? –