由于yum install supervisor 会默认使用python2.6环境,首先要安装好python2.6的环境,然后修改以下文件首行为2.6即可

[root@VM_0_15_centos ~]# cat /usr/bin/supervisord
#!/usr/bin/python2.6
from supervisor.supervisord import main

# __doc__ required to make supervisord -h work
from supervisor.supervisord import __doc__
main()

[root@VM_0_15_centos ~]# cat /usr/bin/supervisorctl
#!/usr/bin/python2.6
from supervisor.supervisorctl import main

# __doc__ required to make supervisorctl -h work
from supervisor.supervisorctl import __doc__
main()

[root@VM_0_15_centos ~]#

参考:https://blog.csdn.net/englishsname/article/details/79082684

相关文章:

  • 2021-10-08
  • 2021-10-29
  • 2021-12-03
  • 2021-07-05
  • 2022-12-23
  • 2022-12-23
  • 2021-11-21
  • 2021-06-17
猜你喜欢
  • 2021-07-23
  • 2022-12-23
  • 2021-08-06
  • 2022-12-23
  • 2022-12-23
  • 2021-07-06
  • 2022-12-23
相关资源
相似解决方案