title: ImportError: no module named BeautifulSoup or BeautifulSoup4 - Python
body: <p>On MacOS, I installed homebrew, then installed pip. </p>
  
  <p>Trying to use a Python scraper that uses "BeautifulSoup" package. </p>
  
  <p>Ran: <code>pip install -r requirements.txt</code></p>
  
  <p>requirements.txt includes:</p>
  
  <pre><code>BeautifulSoup
  ipython
  </code></pre>
  
  <p>BeautifulSoup gives an error, after googling I realized that there is a new version. so I ran:</p>
  
  <pre><code>pip install beautifulsoup4
  </code></pre>
  
  <p>seems to have installed correctly. Then I ran the scraping script and I got the following error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "scrape.py", line 3, in &lt;module&gt;
      from BeautifulSoup import BeautifulSoup
  ImportError: No module named BeautifulSoup
  </code></pre>
  
  <p>I tried changing BeautifulSoup to BeautifulSoup4 in the script, but it is the same error. </p>
  
  <p>Anything else I can try?</p>
  
  <p>This is the script I am trying to use: <a href="https://github.com/jojurajan/wp-content-scraper" rel="nofollow noreferrer">https://github.com/jojurajan/wp-content-scraper</a></p>