Terminal: Where is the shell start-up file?

后端 未结 4 1490
天命终不由人
天命终不由人 2020-12-23 12:54

I\'m following a tutorial called Starting a Django 1.4 Project the Right Way, which gives directions on how to use virtualenv and virtualenvwrapper, among other things.

4条回答
  •  忘掉有多难
    2020-12-23 13:37

    I have Anaconda install, so I add these 3 lines to ~/.bash_profile

    export WORKON_HOME=$HOME/.virtualenvs
    export PROJECT_HOME=$HOME/Documents/Python
    source /Users/Username/anaconda3/bin/virtualenvwrapper.sh 
    

    and then reload profile by:

    $ source ~/.bash_profile
    

提交回复
热议问题