ERROR: virtualenvwrapper could not find virtualenv in your path

后端 未结 12 1922
广开言路
广开言路 2021-02-01 01:06

I\'m trying to create a virtualenv with virtualenvwrapper, but when I use mkvirtualenv I get the following :

ERROR: virtualenvwrapper c         


        
12条回答
  •  粉色の甜心
    2021-02-01 01:34

    I have set the variable VIRTUALENVWRAPPER_VIRTUALENV in my .zshrc to the full path of the virtualenv binary and it works for me.

    Here is my .zshrc file:

    export WORKON_HOME=$HOME/.virtualenvs
    export PROJECT_HOME=$HOME/Devel
    export VIRTUALENVWRAPPER_VIRTUALENV=$HOME/Library/Python/2.7/bin/virtualenv
    source $HOME/Library/Python/2.7/bin/virtualenvwrapper.sh
    

提交回复
热议问题