如何升级Gunicorn3使用Python3.8而不是Python3.6?

发布于 2025-02-10 19:33:43 字数 123 浏览 5 评论 0原文

我正在使用基本的Ubuntu 18.04 VPS,并且我已经使用Gunicorn3了一段时间。我决定升级到Python3.8,但是,尚不清楚如何使Gunicorn3运行Python3.8应用程序。有什么办法吗?

谢谢!

I'm using a basic Ubuntu 18.04 VPS and I've been using gunicorn3 for a while. I've decided to upgrade to python3.8, however, it's unclear how to make gunicorn3 run python3.8 applications. Is there any way to do so?

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

貪欢 2025-02-17 19:33:43

看来有一个包裹为gunicorn3(在ubuntu上进行了测试)

sudo apt-get install install gunicorn3

然后运行以下命令应使用并用python3:运行gunicorn:python3:

Gunicorn3 - log级调试 - 绑定0.0.0.0:30443服务器:app

It seems that there's a package for this called gunicorn3 (this was tested on ubuntu)

sudo apt-get install gunicorn3

then running the following command should work and run gunicorn with python3:

gunicorn3 --log-level debug --bind 0.0.0.0:30443 server:app

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文