**About pychar’s error modulenotfounderror: no module named ‘requests_HTML ‘
code from requests_HTML import htmlsession is marked with red and an error is reported
Error reason
Pycharm did not import requests_HTML Library
Solution:
-
- 1.file — settings
-
- 2.project: pycharmprojects — Python interpreter. Above a long list of libraries displayed on the right, there is a + – △ visual symbol. Click the + sign
-
- 3.enter the added Library: requests HTML in the input box, and click Install Package in the lower left corner to install it. I have already installed it here, So the button turns gray
-
- 4.returns to the previous page. You can see the installed requests HTML package on the right. Click OK
- 5. The code is not marked red yes