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>>插件<<版本。我想是的。
我是一名优秀的程序员,十分优秀!