I'm trying to setup virtualenvwrapper on OSX, and all the instructions and tutorials I've found tell me to add a source command to .profile, pointing towards virtualenvwrapper.sh. I've checked all the python and site-packages directories, and I can't find any virtualenvwrapper.sh. Is this something I need to download separately? Is pip not installing correctly?
This is the contents of /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/virtualenvwrapper:
hook_loader.py hook_loader.pyc project.py project.pyc user_scripts.py user_scripts.pyc
As you can see, no virtualenvwrapper.sh. Where is it?
in my case: /home/username/.local/bin/virtualenvwrapper.sh
In OSx EI captain, I installed the virtualenvwrapper as
, however I cannot find the virtualenvwrapper.sh in
/user/local/bin
, it was finally found at/Library/Frameworks/Python.framework/Versions/3.4/bin/virtualenvwrapper.sh
, and you can make an soft link to /usr/local/bin asln -s /Library/Frameworks/Python.framework/Versions/3.4/bin/virtualenvwrapper.sh /usr/local/bin/virtualenvwrapper.sh
, and everything you can just follow the setup guide as the official document does. Good luck!I've installed it on Ubuntu 16.04 and it resulted in this location.
For Ubuntu
If you just installed it, check the output on Terminal, I'm posting mine :
Here the second line tells you the path. For me it was at
/home/username/.local/bin
On Mac OS
u got
and u can
and in your
.bash_profile
or u can
Installed it using pip on Ubuntu 15.10 using a normal user, it was put in
~/.local/bin/virtualenvwrapper.sh
which I found by running:$ find / -name virtualenvwrapper.sh 2>/dev/null