Terminal issue with virtualenvwrapper after Mavericks Upgrade

后端 未结 8 2098
离开以前
离开以前 2020-12-07 20:41

After upgrading to OSX Mavericks, I am getting this message in the terminal:

/usr/bin/python: No module named virtualenvwrapper
virtualenvwrapper.sh: There w         


        
8条回答
  •  不知归路
    2020-12-07 21:09

    I had the same problem with MacOS High Sierra. I was able to fix it with these lines in my .bash_profile file:

    export WORKON_HOME=$HOME/.virtualenvs
    export PROJECT_HOME=$HOME/Code
    export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python2
    export VIRTUALENVWRAPPER_VIRTUALENV=/usr/local/bin/virtualenv
    source /usr/local/bin/virtualenvwrapper.sh
    

提交回复
热议问题