Tried installing requests-html through pip and pip3 in many different ways (recommendations from other StackOverflow threads) and I keep on getting the same error ImportError: No module named requests_html.
Checked pip and pip3 list, both of them have requests and requests-html. Also my python is updated, its 3.7.6.
Also weirdly I started writing the code on jupyter notebook, and everything worked, however when I switched to sublime text that's where the problem occurred.
Please help.
P.s. I am on a mac, and I am a beginer.
The issue where Sublime was using the wrong Python Environment.
You need to add a new build configuration:
Source: https://medium.com/@hariyanto.tan95/set-up-sublime-text-3-to-use-python-3-c845b742c720