将 venv 从 python 3.5 更改为 python 3.6; Gunicorn 无法启动

问题描述 投票:0回答:1

我的应用程序在 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但是不起作用

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

python-3.x django gunicorn
1个回答
0
投票

问题似乎与 jenkins 和 python 3.6 版本不匹配有关。

© www.soinside.com 2019 - 2024. All rights reserved.