Error using python 3.8
radostyle opened this issue · 3 comments
radostyle commented
Traceback (most recent call last):
File ".../...py", line 1, in
from ipymarkup import show_box_markup
File ".../.venv/lib/python3.8/site-packages/ipymarkup/init.py", line 2, in
from .markup import * # noqa
File ".../.venv/lib/python3.8/site-packages/ipymarkup/markup.py", line 6, in
from cgi import escape
ImportError: cannot import name 'escape' from 'cgi' (.../.pyenv/versions/3.8.1/lib/python3.8/cgi.py)
radostyle commented
Should import escape from html rather than cgi
from html import escape