ERROR: virtualenvwrapper could not find virtualenv in your path

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

    In my case, I tested use this command:

     sudo find / -name "virtualenv"
    

    and I have a list with all path to this file,

    I tested one to one and solved with path:

    export VIRTUALENVWRAPPER_VIRTUALENV=/usr/bin/virtualenv
    

    My configurations to environment variables is :

    export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3
    export WORKON_HOME=$HOME/.virtualenv
    export VIRTUALENVWRAPPER_VIRTUALENV=/usr/bin/virtualenv
    source ~/.local/bin/virtualenvwrapper.sh
    

    in file .bashrc. Now all its works.

提交回复
热议问题