【问题标题】:How to find gunicorn path in Ubuntu using terminal?如何使用终端在 Ubuntu 中找到 gunicorn 路径?
【发布时间】:2018-08-29 11:15:54
【问题描述】:

我已经使用sudo apt-get install gunicorn 在我的 Ubuntu 虚拟机中安装了 gunicorn。如何找到gunicorn的安装位置?

【问题讨论】:

  • 你在shell中试过which gunicorn吗?
  • 是的,我试过了。但该位置不存在。(“/home/jkcsadmin/.local/bin/gunicorn”)
  • 您是否不小心在虚拟机外部运行了which 命令?还是在里面跑,但在外面看路?如果which 在那里找到命令,那么它就在那里。

标签: python-3.x ubuntu gunicorn


【解决方案1】:

很抱歉发布晚了。可能仍然对其他人有所帮助。

试试这个-

whereis gunicorn

【讨论】:

  • 你是最棒的
【解决方案2】:

您如何检查它在位置 /home/jkcsadmin/.local/bin/gunicorn 不可用?试试/home/jkcsadmin/.local/bin/gunicorn -h,看看有没有帮助。

通常它位于您的 bin 文件夹 /usr/bin/gunicorn。试试/usr/bin/gunicorn -h

【讨论】:

    猜你喜欢
    • 2015-04-13
    • 2014-10-31
    • 1970-01-01
    • 1970-01-01
    • 2014-08-23
    • 2021-12-03
    • 1970-01-01
    • 2013-01-31
    • 1970-01-01
    相关资源
    最近更新 更多