我的应用程序在 python3.5 上运行良好。但是当我用 python3.6 制作 virtualenv 并安装相同的要求时; Gunicorn 不会在詹金斯中以以下错误消息启动:
+ supervisorctl restart myapp
myapp: stopped
myapp: ERROR (spawn error)
在日志文件中写道:
supervisor: couldn't exec /home/jenkins/myapp/venv/bin/gunicorn: ENOENT
supervisor: child process was not spawned
此外,gunicorn 软件包版本是 19.8.1。我更新到20.0.0但是不起作用
如有任何帮助,我们将不胜感激
问题似乎与 jenkins 和 python 3.6 版本不匹配有关。