title: ImportError: No module named 'bs4' in django only
body: <p>The same question has been asked a number of times but I couldn't find the solution.</p>
  
  <p>After I install a package using pip, I am able to import it in python console or python file and it works as expected.
  The same package when I try to include in django, it gives <code>import error</code>.
  Do I need to modify <code>settings.py</code> file or any requirement that I need to add? I am driving django with the help of virtual env. </p>
  
  <p>Eg:
  I am using <code>BeautifulSoup</code> and I am trying to import <code>from bs4 import BeautifulSoup</code> and I am getting error <code>ImportError: No module named 'bs4'</code></p>
  
  <p>This error only comes in django. I am not able to figure out why this is happening.</p>
  
  <p>Screenshot attached for reference.</p>
  
  <p><strong>1. python console - shows no error</strong></p>
  
  <p><a href="https://i.stack.imgur.com/exmvN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/exmvN.png" alt="python2 and python3 console"></a></p>
  
  <p><strong>2. django console- import error</strong></p>
  
  <p><a href="https://i.stack.imgur.com/j0IMN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/j0IMN.png" alt="django console"></a></p>
  
  <p><em>I am sorry as it is difficult to read the console but any other thing that I can include which will help me make myself more clear will be appreciated.</em> </p>