You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last): File "/Users/cbarrueco/git/lipwig/./lipwig.py", line 7, in <module> from cgi import escape ImportError: cannot import name 'escape' from 'cgi' (/Users/cbarrueco/opt/anaconda3/lib/python3.9/cgi.py)
I've resolved changing the below line in lipwig.py: from cgi import escape
to from html import escape
It works fine for me.
The text was updated successfully, but these errors were encountered:
I'm getting the below error:
Traceback (most recent call last): File "/Users/cbarrueco/git/lipwig/./lipwig.py", line 7, in <module> from cgi import escape ImportError: cannot import name 'escape' from 'cgi' (/Users/cbarrueco/opt/anaconda3/lib/python3.9/cgi.py)
I've resolved changing the below line in lipwig.py:
from cgi import escape
to
from html import escape
It works fine for me.
The text was updated successfully, but these errors were encountered: