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也不是很可靠

  • 相关阅读:
    VS Visual Studio connection(); Microsoft Visulal Studio vNext & Azure
    无废话WCF入门教程六[一个简单的Demo]
    JS代码混淆 支持PHP .NET PERL
    C#/vbscript/JS如何加密保护HTML/javascript源代码
    JavaScript加密解密7种方法总结分析
    模型融合---Stacking调参总结
    模型融合---Xgboost调参总结
    模型融合---GBDT调参总结
    为什么正则化可以减小过拟合?
    python中的filter、map、reduce、apply用法
  • 原文地址:https://www.cnblogs.com/goodspeed/p/2085299.html
Copyright © 2011-2022 走看看