virtualenv - Error with pointing to correct python version: virtualenvwrapper.sh -


i error when boot terminal:

last login: thu apr  9 19:49:08 on ttys001 /library/frameworks/python.framework/versions/2.7/resources/python.app/contents/macos/python: no module named virtualenvwrapper virtualenvwrapper.sh: there problem running initialization hooks.   if python not import module virtualenvwrapper.hook_loader, check virtualenvwrapper has been installed virtualenvwrapper_python=/library/frameworks/python.framework/versions/2.7/bin/python , path set properly. dhcp-128-189-78-23:~ user_me$  

i need "point" virtual environment version of python i'm using.

how can this?

i had same exact issue , updating path didn't anything, nor did setting virtualenvwrapper_python , virtualenvwrapper_virtualenv. because seeing strange behavior when running version of python:

$ /usr/local/bin/python python 2.7.6 (v2.7.6:3a1db0d2747e, nov 10 2013, 00:42:54) [gcc 4.2.1 (apple inc. build 5666) (dot 3)] on darwin type "help", "copyright", "credits" or "license" more information. >>> import sys >>> print sys.executable /library/frameworks/python.framework/versions/2.7/resources/python.app/contents/macos/python 

i able fix uninstalling python brew, reinstalling python brew, , forcing overwrite existing symlinks in /usr/local/bin.

$ brew uninstall --force python $ brew install python $ brew link --overwrite python $ brew linkapps python $ pip install --upgrade pip setuptools $ sudo pip uninstall virtualenv $ pip install virtualenv $ sudo pip uninstall virtualenvwrapper $ pip install virtualenvwrapper 

hopefully able past issue when encountered 6 months ago. wanted post solution in case others run in same issue , cannot solve setting paths , env variables.


Popular posts from this blog