I\'m starting to learn about python development in a new project.
I got setup almost everything right, but only this import HTML
that keeps given me some error that
Looking the given screenshots and tags I suppose your are using Anaconda
(which I have no experience but it is still Python, anyway) and the IDE is not resolving the import.
Make sure you have installed/updated HTML.py
conda install HTML
At your IDE go to Window > Preferences > Python Interpreter
At Libraries tab make sure you have the following folders added to your PYTHONPATH
:
That should do the trick.
Important: try to always install your libraries through conda
(or pip
when using Python directly). It will install things where it should be. ;)