problems with python and virtualenvwrapper after updating: No module named virtualenvwrapper

If you have modified your virtualenvwrapper to point to python3, like I do, add the following line in your .bashrc file :

export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3

making sure that it’s placed before the following line (if you have it):

source /usr/local/bin/

Then, make sure you install the virtualenv and virtualenvwrapper using:

sudo /usr/local/bin/pip3 install virtualenv virtualenvwrapper

Leave a Comment