I upgraded brew and now I'm getting this message every time I open the terminal:
/usr/bin/python: No module named virtualenvwrapper
virtualenvwrapper.sh: There was a problem running the initialization hooks.
If Python could not import the module virtualenvwrapper.hook_loader,
check that virtualenvwrapper has been installed for
VIRTUALENVWRAPPER_PYTHON=/usr/bin/python and that PATH is
set properly.
I tried the suggested solutions posted by Railslide and Sudipta Basak from the following post, but neither are fixing this issue for me: problems with python and virtualenvwrapper after updating: No module named virtualenvwrapper
Executing "/usr/local/bin/pip3 install virtualenv virtualenvwrapper" gives me the "Requirement already satisfied" message.
I'm on Mac, and this is breaking a few things for me, like Juypter Notebook that I had installed with Anaconda, so any help would be appreciated!
echo $PATHgive you and what order is your Python executables (e.g. does Python 2 come before Python 3)?echo $PATHis giving meusr/bin/sudo:/Users/_myName_/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin. This may be a silly question, but how do I check the order of my Python executables? Looking in /usr/bin/, I am seeingpython. Looking in /usr/local/bin/, I seepython3as Alias./usr/binand Python 3 is in/usr/local/bin, then/usr/local/binneeds to come before/usr/binin yourPATH. Seeing Python 3 as an alias (and aliases have very explicit meanings in *nix) could be problematic.