Dec-27-2016, 10:32 AM
Quote:Python 3.6 does not see the "requests" module. The module is located in the folder "/usr/lib/python3/dist-packages/"This could cause problems in the future. You are basically re-using python3.5 3rd party modules for python3.6. This appears to have no effect on request or bs4 modules, but can on others. You should strive to install separate modules, one for each python installation.
Quote:beautifulsoup does not know what lxml is anymore.You can either install lxml to your python3.6
https://pypi.python.org/pypi/lxml
or you can change your parser from
Quote:to thissoup = BeautifulSoup(html, "lxml")
soup = BeautifulSoup(html, "html.parser")
Recommended Tutorials: