ImportError: No module named bs4 in django
<p>I am learning Django and I was working with bs4 in PyCharm on mac. I am using Python3 with Django which also has bs4 installed and it can be seen below.
<a href="http://i.stack.imgur.com/fRQP7.png" rel="nofollow"><img src="http://i.stack.imgur.com/fRQP7.png" alt="enter image description here"></a></p>

<p>But when I run the project, it throws me an error saying bs4 does not exist which can be seen below.
<a href="http://i.stack.imgur.com/x6vy3.png" rel="nofollow"><img src="http://i.stack.imgur.com/x6vy3.png" alt="enter image description here"></a></p>

<p>I have tried a lot of ways and it couldn't get it to work. Help</p>

<p>You've installed wrong Beautiful Soup package. The one that you installed is <a href="https://pypi.python.org/pypi/bs4/0.0.1" rel="nofollow">bs4</a></p>

<blockquote>
  <p>This is a dummy package managed by the developer of Beautiful Soup to prevent name squatting. The official name of PyPIâs Beautiful Soup Python package is beautifulsoup4.</p>
</blockquote>

<p>The one that you need to install is <a href="https://pypi.python.org/pypi/beautifulsoup4" rel="nofollow">beautifulsoup4</a>. Which you should get with <code>pip install beautifulsoup4</code> and not <code>pip install bs4</code></p>

python django beautifulsoup pycharm bs4