ERROR: virtualenvwrapper could not find virtualenv in your path

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

    I finally found out what the problem was :

    virtualenvwrapper.sh is written in BASH and not in Python. So virtualenv is called from a shell (zsh). I didn't have to bother about my PYTHONPATH, but about my PATH (I was already able to import virtualenv from my python shell anyway).

    I just added the correct directory to my PATH and everything worked fine.

提交回复
热议问题