Re:Explicit bootstrapping of pip in Python installations
by tomrod on Tuesday October 22, 2013 @10:19AM
(#6592048)
I have no idea how to get virtualenv working. I'm that user that needs it for now!
[ Parent
| on HN ]
Re:Explicit bootstrapping of pip in Python installations
by CraigJPerry on Tuesday October 22, 2013 @10:31AM
(#6592129)
Install virtualenv:
pip install virtualenv
mkdir ~/.virtualenvs
virtualenv ~/.virtualenvs/my_new_project
Activate it to continue development: . ~/.virtualenvs/my_new_project/bin/activate
The effect of this is that `python` and `pip` commands now only act on the virtualenv and not system (or user) site wide.Deactivate it:
deactivate
Python and pip commands are now the system versions again.
Re:Explicit bootstrapping of pip in Python installations
by tomrod on Tuesday October 22, 2013 @04:23PM
(#6594685)
Craig, you're my internet hero today. Much thanks!
Re:Explicit bootstrapping of pip in Python installations
by zackkitzmiller on Tuesday October 22, 2013 @11:28AM
(#6592518)
virtualenvwrapper will be a life saver for you.