Badmiral
Badmiral

Reputation: 1589

virtualenvwrapper on mountain lion

Following this guide http://virtualenvwrapper.readthedocs.org/en/latest/.

I have a fresh install of mountain lion (i.e. not upgrading)

Ran

pip install virtualenvwrapper
mkdir -p $DEV_HOME

Successfully But when I run this line: source /usr/local/bin/virtualenvwrapper.sh

I get -bash: /usr/local/bin/virtualenvwrapper.sh: No such file or directory

Is this just stored in a different location? Thanks!

Upvotes: 0

Views: 1535

Answers (3)

Perry
Perry

Reputation: 11

On El Capitan I found virtualenvwrapper.sh at

/Library/Frameworks/Python.framework/Versions/2.7/bin/virtualenvwrapper.sh

Upvotes: 0

Badmiral
Badmiral

Reputation: 1589

Found it in /Library/Frameworks/Python.framework/Versions/2.7/bin/virtualenvwrapper.sh

The way I found it was to see where pip install virtualenvwrapper was putting all the files

(You can run it twice, pip will recognize they already exist)

Upvotes: 0

Pavel Anossov
Pavel Anossov

Reputation: 62868

Should be in /usr/local/share/python/virtualenvwrapper.sh.

If it's not, try looking for it with find:

$ find / -name virtualenvwrapper.sh

Or try reinstalling it and looking at where pip puts the scripts:

$ pip install -U --force-reinstall virtualenvwrapper

Downloading/unpacking virtualenvwrapper
...
...
changing mode of /usr/local/share/python/virtualenvwrapper.sh to 755    -- aha!
...

Upvotes: 6

Related Questions