Terminal issue with virtualenvwrapper after Mavericks Upgrade

后端 未结 8 2102
离开以前
离开以前 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:12

    Re-arrange the export order so that the python path is placed before the virtualenv commands in your .bash_profile file.

    # python path
    export PATH=/usr/local/bin:$PATH
    
    # needed for virtualenvwrapper
    export WORKON_HOME=$HOME/.virtualenvs
    source /usr/local/bin/virtualenvwrapper.sh
    

提交回复
热议问题