Reputation: 8002
I have no experience at all with python, so when I followed the instructions at https://github.com/unitedstates/congress, I ran the commands:
sudo pip install virtualenv
sudo pip install virtualenvwrapper
Which I later read is wrong: OSX El Capitan: sudo pip install OSError: [Errno: 1] Operation not permitted
When I try this command in the guide:
mkvirtualenv congress
I get an error.
-bash: mkvirtualenv: command not found
Not sure if it ended up installing in an unexpected place or what. Is this where it should be?
which virtualenvwrapper.sh
/Library/Frameworks/Python.framework/Versions/2.7/bin/virtualenvwrapper.sh
Please advise on how to fix.
Upvotes: 0
Views: 173
Reputation: 5613
You need to put virtualenvwrapper.sh
in your .bash_profile
, as explained in the Installation chapter of the virtualenvwrapper docs.
Upvotes: 1