I know this is a common issue but I still can't figure how to make it work.
I'm trying to use bs4 inside a virtual environment but I have this error ImportError: No module named 'bs4'
I have my virtualenv activated :
pip install bs4
Requirement already satisfied: bs4 in /home/****/.virtualenvs/****/lib/python3.5/dist-packages
Requirement already satisfied: beautifulsoup4 in /home/****/.virtualenvs/****/lib/python3.5/dist-packages (from bs4)
My scripts start with
!/usr/bin/python3.5
# -*-coding:Utf-8 -*
import json
import hashlib
from bs4 import BeautifulSoup
Any help is welcome !