econchick / new-coder

New Coder tutorials
zlib License
597 stars 392 forks source link

-bash: mkvirtualenv: command not found #141

Closed harrywang closed 9 years ago

harrywang commented 9 years ago

I setup my Mac correctly by following the tutorial but ran into the following error

$ mkvirtualenv DataVizProj
-bash: mkvirtualenv: command not found

then, I ran (previously ran once)

source /usr/local/bin/virtualenvwrapper.sh

then, it works. Do I have to run source everytime I use mkvirtualenv?

thanks a lot for your help.

harrywang commented 9 years ago

Solved:

add

source /usr/local/bin/virtualenvwrapper.sh

to .bash_profile and

source .bash_profile