Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'HTMLParser' object has no attribute 'unescape' #29

Open
ds2606 opened this issue Apr 7, 2021 · 1 comment
Open

AttributeError: 'HTMLParser' object has no attribute 'unescape' #29

ds2606 opened this issue Apr 7, 2021 · 1 comment

Comments

@ds2606
Copy link

ds2606 commented Apr 7, 2021

In sotawhat.py, the import from six.moves.html_parser import HTMLParser seems to have compatibility issues, as HTMLParser no longer has an unescape method, which causes the script to fail on lines 186 and 190.

Installing with pip and running sotawhat computer vision 5 led to AttributeError: 'HTMLParser' object has no attribute 'unescape'

@jeremymiller00
Copy link

I was able to solve this by using Python 3.8.12 in a virtualenv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants