ERROR: virtualenvwrapper could not find virtualenv in your path

后端 未结 12 1916
广开言路
广开言路 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:40

    The way I did it was (using zsh) in this way:

    export PATH=$HOME/bin:/usr/local/bin:$PATH:/Users/username/Library/Python/2.7/bin:$PATH

    I simply located the file of virtualenvwrapper.sh inside this path /Users/username/Library/Python/2.7/bin:$PATH

    and added that path to PATH.

提交回复
热议问题