I want to try and make a program that downloads images from the internet, and I have found a guide that uses Beautiful soup. I have heard of Beautiful Soup before, so I figured that I would try it out. My only issue is that I can't seem to find a version for Python 3. I went to their website, but I was unable to find a version that worked with Python 3.
Whenever I would run the setup.py file, I would get an error that was too quick to read, but it looked like it was saying syntax error. So I looked at the code and realized that there weren't any parenthesis in front or after strings that were supposed to be printed.
I have tried numerous different webpages and different searches, but was unable to find an answer.
I'm also sorry if this is not a question related to programming, if it is not, please leave a comment on this question and I will delete the question ASAP.
As BeautifulSoup is not a standard python library, we need to install it first.
To use beautiful soup, you need to install it: $ pip install beautifulsoup4 . Beautiful Soup also relies on a parser, the default is lxml . You may already have it, but you should check (open IDLE and attempt to import lxml). If not, do: $ pip install lxml or $ apt-get install python-lxml .
BeautifulSoup4 installs fine with python3.
pip install beautifulsoup4
Make sure your version of pip
is for python3!
pip -V
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With