Supervisor: 主管未安装在 Python3.6 上

创建于 2017-06-05  ·  5评论  ·  资料来源: Supervisor/supervisor

我使用了 Fedora 26 和 python3.6 defaulty
收款主管
使用缓存的 supervisor-3.3.2.tar.gz
命令 python setup.py egg_info 的完整输出:
Supervisor 需要 Python 2.4 或更高版本,但不适用于任何版本的 Python 3。您使用的是 3.6.1 版(默认,2017 年 5 月 9 日,15:52:14)
[GCC 7.1.1 20170503(红帽 7.1.1-1)]。 请使用受支持的版本进行安装。

最有用的评论

@mnaberez在半年后遇到了这个问题——目前发布的版本是 supervisor 3.3.4; 未发布的 4.0 显然与 Python 3 兼容。 你能告诉我 4.0 的发布计划是什么吗? 在此期间,除了从 git 运行之外,还有其他选择吗? 非常感谢!

所有5条评论

README中所述,Supervisor 尚不兼容 Python 3。 Python 3 问题正在标签python 3下进行跟踪。

@mnaberez在半年后遇到了这个问题——目前发布的版本是 supervisor 3.3.4; 未发布的 4.0 显然与 Python 3 兼容。 你能告诉我 4.0 的发布计划是什么吗? 在此期间,除了从 git 运行之外,还有其他选择吗? 非常感谢!

我已经使用 python3.6 安装在虚拟环境中,因此: pip install git+https://github.com/Supervisor/supervisor<strong i="5">@master</strong> 我尝试通过supervisorctl start celeryd执行多少,例如并向我扔东西
error: <class 'PermissionError'>, [Errno 13] Permission denied: file: /home/omar/Escritorio/virtual_envs/env_celery/lib/python3.6/site-packages/supervisor/xmlrpc.py line: 557

谁遇到过类似的问题,如何解决?,谢谢

@alejandrohdo我有同样的问题,我还没有解决它,我正在认真考虑使用马戏团代替

你的 supervisord 配置中有这一行吗:

; the below section must remain in the config file for RPC
; (supervisorctl/web interface) to work, additional interfaces may be
; added by defining them in separate rpcinterface: sections
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface

此页面是否有帮助?
0 / 5 - 0 等级