On Ubuntu 16.04 I created a virtual environment called
venv and inside the
venv/lib/python2.7/site-packages I have
nltk-3.2.2.dist-info as normal.
However, when I activate the virtual environment using
source venv/bin/activate and run a Python script that contains
import nltk, I get the error:
ImportError: No module named nltk
How can this be fixed?