zoukankan      html  css  js  c++  java
  • supervisor 3.0a81 安装失败

    在ubuntu 11.04上安装supervisor

    sudo apt-get install supervisor

    会得到以下错误

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    supervisor is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    1 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    Do you want to continue [Y/n]? Y
    Setting up supervisor (3.0a8-1) ...
    Starting supervisor: Unlinking stale socket /var/run/supervisor.sock
    Traceback (most recent call last):
      File "/usr/bin/supervisord", line 9, in <module>
        load_entry_point('supervisor==3.0a8', 'console_scripts', 'supervisord')()
      File "/usr/lib/pymodules/python2.7/supervisor/supervisord.py", line 371, in main
        go(options)
      File "/usr/lib/pymodules/python2.7/supervisor/supervisord.py", line 381, in go
        d.main()
      File "/usr/lib/pymodules/python2.7/supervisor/supervisord.py", line 94, in main
        self.run()
      File "/usr/lib/pymodules/python2.7/supervisor/supervisord.py", line 104, in run
        self.options.openhttpservers(self)
      File "/usr/lib/pymodules/python2.7/supervisor/options.py", line 1039, in openhttpservers
        self.httpservers = self.make_http_servers(supervisord)
      File "/usr/lib/pymodules/python2.7/supervisor/options.py", line 1242, in make_http_servers
        return make_http_servers(self, supervisord)
      File "/usr/lib/pymodules/python2.7/supervisor/http.py", line 799, in make_http_servers
        from web import supervisor_ui_handler
      File "/usr/lib/pymodules/python2.7/supervisor/web.py", line 29, in <module>
        import meld3
      File "/usr/lib/pymodules/python2.7/meld3/__init__.py", line 2, in <module>
        from meld3 import parse_xml
      File "/usr/lib/pymodules/python2.7/meld3/meld3.py", line 27, in <module>
        from xml.etree.ElementTree import fixtag
    ImportError: cannot import name fixtag
    invoke-rc.d: initscript supervisor, action "start" failed.
    dpkg: error processing supervisor (--configure):
     subprocess installed post-installation script returned error exit status 1
    Processing triggers for python-support ...
    Errors were encountered while processing:
     supervisor
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    

    解决办法是安装一下

    sudo apt-get install python-meld3

    看起来apt-get也不是很可靠

  • 相关阅读:
    .NET Core单文件发布静态编译AOT CoreRT
    Orchard Core Framework:ASP.NET Core 模块化,多租户框架
    IdentityServer4 ASP.NET Core的OpenID Connect OAuth 2.0框架学习保护API
    ASP.NET Core DotNetCore 开源GitServer 实现自己的GitHub
    ASP.NET Core 中间件Diagnostics使用 异常和错误信息
    c# – Asp.Net Core MVC中Request.IsAjaxRequest()在哪里?
    使用cookie来做身份认证
    AspNetCore 2.2 新特性---HealthCheck
    AspNetCore 限流中间件IpRateLimitMiddleware 介绍
    (六十二)c#Winform自定义控件-警灯(工业)
  • 原文地址:https://www.cnblogs.com/goodspeed/p/2085299.html
Copyright © 2011-2022 走看看