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%确定。你在使用什么操作系统? –