Activate virtualenv and then install BeautifulSoup4:
$ pip install BeautifulSoup4
When you installed bs4 with easy_install , you installed it on a system scale. This way your system python can import it, but not your virtual python. If you do not need bs4 to be installed in your python path, delete it and save it in your virtual space.
For more information on virtualenvs, read this.
Balthazar Rouberol Aug 02 2018-12-12T00: 00Z
source share