I installed Python 3.6 and ran pip from the command line to install numpy and beautiful soup 4, like so:
pip install beautifulsoup4
Then when I tried to run python files with
from bs4 import BeautifulSoup
it would give me the error that the module wasn't found, although I checked and it was installed.
Then I created a virtual environment using virtualenv, installed beautifulsoup the same way using pip on the virtual environment and ran a python file from that environment. It worked no problem. What's the deal?