gpt4 book ai didi

change venv from python 3.5 to python 3.6; Gunicorn does not start(将venv从python3.5更改为python3.6;Gunicorn不启动)

转载 作者:bug小助手 更新时间:2023-10-25 18:10:26 28 4
gpt4 key购买 nike



My app on python3.5 works well. But when I make the virtualenv with python3.6 and install the same requirements; Gunicorn doesn't start with below error message in jenkins:

我的应用程序在python3.5上运行良好。但是,当我使用python3.6制作Virtualenv并安装相同的要求时,Gunicorn在Jenkins中不会从以下错误消息开始:


+ supervisorctl restart myapp
myapp: stopped
myapp: ERROR (spawn error)

and in log file it's written:

在日志文件中写道:


supervisor: couldn't exec /home/jenkins/myapp/venv/bin/gunicorn: ENOENT
supervisor: child process was not spawned

Also, the gunicorn package version is 19.8.1. I updated it to 20.0.0 but it doesn't work

此外,Gunicorn包版本为19.8.1。我把它更新到了20.0.0,但它不起作用


Any help would be appreciated

如有任何帮助,我们将不胜感激


更多回答
优秀答案推荐

It seems the problem is relevant to mismatch versions of jenkins and python 3.6.

这个问题似乎与Jenkins和Python3.6的不匹配版本有关。


更多回答

Jenkins? What does that have to do with it? It might be a Jenkins >>plugin<< version. I guess.

詹金斯?这和这有什么关系?它可能是Jenkins>>插件<<版本。我想是的。

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com