0

When I try to

import bs4

I keep getting the error

ImportError: No module named bs4

I have tried to address this by trying all of the following (individually and together) with Python 2 and Python 3 and have had no success. What's going wrong?

sudo pip2 install beautifulsoup4
sudo pip3 install beautifulsoup4

sudo apt-get install python-bs4
sudo apt-get install python3-bs4
BlandCorporation
  • 1,324
  • 1
  • 15
  • 33

1 Answers1

0

Downoad it from Pypi beatifulsoup4

and find setup.py file after extracting, then install it with

sudo python setup.py install