Failing to run the new explorer, I am a fan of the old one, please help

+1 vote
python3 -m explorer config.ini daemon
Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/makoya/multichain-explorer-2/explorer.py", line 12, in <module>
    import server
  File "/home/makoya/multichain-explorer-2/server.py", line 10, in <module>
    import data
  File "/home/makoya/multichain-explorer-2/data.py", line 10, in <module>
    from cgi import escape
ImportError: cannot import name 'escape' from 'cgi' (/usr/lib/python3.8/cgi.py)
asked Aug 26, 2021 by makoya

1 Answer

+1 vote
First, you're still welcome to use the old Explorer if you wish!

Second, I found this solution using Google – it seems that Python 3.8 made a change:

https://github.com/jupyter/nbviewer/issues/869
answered Aug 27, 2021 by MultiChain
...