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

Error: ImportError: No module named html.entities after the Feb 28th update #271

Closed
jacobcrp opened this issue Apr 23, 2021 · 4 comments
Closed

Comments

@jacobcrp
Copy link

jacobcrp commented Apr 23, 2021

Morning!

Running into this error after pulling in the newest changes from Feb 28th:

./run govinfo --bulkdata=BILLSTATUS
Traceback (most recent call last):
  File "./run", line 54, in <module>
    import utils
  File "/home/ubuntu/congress3/congress/tasks/utils.py", line 9, in <module>
    import html.entities
ImportError: No module named html.entities

This box is only used for pulling in Bills data but it's possible there was an update to the OS I don't know about that could have thrown a wrench into our processing.

Thanks!

@JoshData
Copy link
Member

What version of Python are you running? The package should be available at least since 3.5 (according to the Python docs).

@jacobcrp
Copy link
Author

Thanks for getting back to me. Looks like the venv is running 2.7.12. Should we wipe this and start with 3.5+?

@JoshData
Copy link
Member

Since October this project now uses Python 3, yeah.

@jacobcrp
Copy link
Author

Great, working now. Thanks Josh!

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