python - ERROR: virtualenvwrapper could not find virtualenv in your path -
i'm trying create virtualenv virtualenvwrapper, when use mkvirtualenv following :
error: virtualenvwrapper not find virtualenv in path i assumed pythonpath problem. if pip show virtualenv following :
--- metadata-version: 2.0 name: virtualenv version: 13.1.0 summary: virtual python environment builder home-page: https://virtualenv.pypa.io/ author: jannis leidel, carl meyer , brian rosner author-email: python-virtualenv@groups.google.com license: mit location: /volumes/data/nfs/zfs-student-3/users/2013_paris/vmonteco/library/python/2.7/lib/python/site-packages requires: and here pythonpath :
/nfs/zfs-student-3/users/2013_paris/vmonteco/library/python/2.7/bin:/nfs/zfs-student-3/users/2013_paris/vmonteco/library/python/2.7/bin:/nfs/zfs-student-3/users/2013_paris/vmonteco/library/python/2.7/lib/python/site-packages:/volumes/data/nfs/zfs-student-3/users/2013_paris/vmonteco/library/python/2.7/lib/python/site-packages:~/.brew/cellar
it contains directory containing virtualenv!
(i-e : /volumes/data/nfs/zfs-student-3/users/2013_paris/vmonteco/library/python/2.7/lib/python/site-packages )
my ~/.zshrc contains :
export workon_home=~/envs export project_home=$home/devel source $home"/library/python/2.7/bin/virtualenvwrapper.sh" edit : virtualenvwrapper.sh written in bash, perhaps should check path instead of pythonpath ?
so, problem be? how fix it?
thank in advance help.
i found out problem :
virtualenvwrapper.sh written in bash , not in python. virtualenv called shell (zsh). didn't have bother pythonpath, path (i able import virtualenv python shell anyway).
i added correct directory path , worked fine.
Comments
Post a Comment