I seem to have broken virtualenvwrapper while trying to upgrade Python 3 from 3.4.1 to the current version. Whenever I run "workon xxx", I get the following error:
usr/local/opt/python3/bin/python3.4: Error while finding spec for 'virtualenvwrapper.hook_loader' (<class 'ImportError'>: No module named 'virtualenvwrapper')
Background:
I have Python 2.7.6 and 3.4.1 installed on my Mac workstation (OSX 10.8.5). I also have virtualenvwrapper running with many different environments - some using 2.7 and other 3.4. Virtualenvwrapper was installed under 3.4.
I just attempted to upgrade Python 3.4.1 to the latest version by running "brew install python3". This installed 3.4.2, but failed to fully complete, saying it was unable to create a few necessary symlinks, and to run "brew link --overwrite python3", which I did.
Any guidance is greatly appreciated. Thanks.