python - Virtualenvwrapper not found -
given know python, problem i'm having shouldn't been happening. installed virtualenvwrapper on mac os x snow leopard pip. it's there in /library/python/2.6/site-packages. when try import virtualenvwrapper, python tells me there's no such module name. other modules (e.g. virtualenv) load fine, , /library/python/2.6/site-packages right @ top of python path. there weird virtualenvwrapper python isn't finding it?
mine in /usr/local/bin/virtualwrapper.sh should able add .bashrc, .bash_profile, or .profile put environment. (remember source .bashrc or open new terminal window)
source /library/python/2.6/site-packages/virtualenvwrapper.sh
edit here's entire bash profile related pip, virtualenv , virtualenv wrapper since looks ugly comment
# python export path=/usr/local/share/python:$path export pythonpath=/usr/bin/python:$pythonpath export path=/usr/local/macports/library/frameworks/python.framework/versions/2.7/bin:$path export virtualenvwrapper_python=/usr/local/macports/library/frameworks/python.framework/versions/2.7/bin/python #virtualenv wrapper export workon_home=~/.virtualenvs # mkvirtualenv --no-site-packages myenv source /usr/local/macports/library/frameworks/python.framework/versions/2.7/bin/virtualenvwrapper.sh export pip_virtualenv_base=$workon_home export pip_respect_virtualenv=true
Comments
Post a Comment