So I've tried to follow the answer here but have no luck: https://forums.aws.amazon.com/thread.jspa?messageID=822214&tstart=0
Only line in my python file is from bs4 import BeautifulSoup
which returns ImportError: No module named bs4
.
I've created my virtualenv and have activated it, terminal shows (vpy36)
at the beginning of each line.
python --version
returns Python 3.6.2
python -m pip install bs4
returns Requirement already satisfied: bs4 in /home/ec2-user/environment/vpy36/lib/python3.6/dist-packages (0.0.1)
Requirement already satisfied: beautifulsoup4 in /home/ec2-user/environment/vpy36/lib/python3.6/dist-packages (from bs4) (4.6.0)
Where am I going wrong?