I am following a Python course with 'Harrison Python Web Programming', and have got stuck on the 'Scraping RSS feeds (3.4.2)' section.
When I install BeautifulSoup4, it seems to install fine, but then when I execute the code I run into this error:
Traceback (most recent call last):
File "C:/Users/Owen/Desktop/Owen/Electronics/Code/Python Web Programming XML.py", line 6, in <module>
xml= BeautifulSoup(req, 'xml')
File "C:\Users\Owen\AppData\Local\Programs\Python\Python35-32\lib\site-packages\bs4\__init__.py", line 165, in __init__
% ",".join(features))
bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: xml. Do you need to install a parser library?
I have had a look around on the net, and have been told that I need to install lxml
. But when I do that I run into this error:
error: Unable to find vcvarsall.bat
Can anyone help?