django - 为什么安装了 gunicorn 后找不到 gunicorn 命令?

标签 django 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 安装路径是不是系统无法识别?

最佳答案

我在 Debian 上遇到了同样的问题。

事实证明,在 Debian 上 documentation建议通过apt安装gunicorn:

$ sudo apt install gunicorn

关于django - 为什么安装了 gunicorn 后找不到 gunicorn 命令?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29679963/

相关文章:

django - 必需的 bool 字段?

python - Django 。如何从相关模型注释对象计数

python-3.x - 如何使用终端在 Ubuntu 中找到 gunicorn 路径?

python - gunicorn 在 heroku 中导致错误

Django + gunicorn + nginx : 502 bad gateway but sometimes only?

python - Django Admin 内联许多字段,是否可以内联添加按钮创建弹出窗口?

Django:从重置密码页面重定向登录用户

python - Haystack 多个索引 - 即使有不同的 search_indexes 也有相同的索引

python - 为什么 Django 日志不能与 Gunicorn 一起使用?

python - Gunicorn 加载 Flask 应用失败