bash: mkvirtualenv: command not found

后端 未结 11 1498
天命终不由人
天命终不由人 2020-12-02 06:15

After following the instructions on Doug Hellman\'s virtualenvwrapper post, I still could not fire up a test environment.

[mpenning@tsunami ~]$ mkvirtualenv          


        
11条回答
  •  旧时难觅i
    2020-12-02 07:03

    Solved my issue in Ubuntu 14.04 OS with python 2.7.6, by adding below two lines into ~/.bash_profile (or ~/.bashrc in unix) files.

    source "/usr/local/bin/virtualenvwrapper.sh"

    export WORKON_HOME="/opt/virtual_env/"

    And then executing both these lines onto the terminal.

提交回复
热议问题