GoldenJoe
GoldenJoe

Reputation: 8002

Fix my virtualenv install?

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

Answers (1)

Cito
Cito

Reputation: 5613

You need to put virtualenvwrapper.sh in your .bash_profile, as explained in the Installation chapter of the virtualenvwrapper docs.

Upvotes: 1

Related Questions