+1

ImportError: No module named urllib.parse

taupomatt 7 years ago 0

After updating my server - ubuntu 12.04, I am getting this error when trying to run ajenti panel.  I restart the ajenti service but then when you check the status it is not running.


ajenti panel returns

04.03.2018 14:39 INFO  Using config file /etc/ajenti/config.json
04.03.2018 14:39 INFO  Ajenti starting in foreground
/usr/lib/pymodules/python2.7/ajenti/feedback.py:8: UserWarning: libevent version mismatch: system version is '2.0.19-stable' but this gevent is compiled against '2.0.16-stable'
  import gevent
Traceback (most recent call last):
  File "/usr/bin/ajenti-panel", line 137, in <module>
    from ajenti import core
  File "/usr/lib/pymodules/python2.7/ajenti/core.py", line 20, in <module>
    from ajenti.http import HttpRoot, RootHttpHandler
  File "/usr/lib/pymodules/python2.7/ajenti/http.py", line 9, in <module>
    from socketio.handler import SocketIOHandler
  File "/usr/lib/python2.7/dist-packages/socketio/handler.py", line 4, in <module>
    from six.moves.urllib.parse import parse_qs
ImportError: No module named urllib.parse