Skip to content

Instantly share code, notes, and snippets.

@omgjlk
Created March 31, 2015 21:43
Show Gist options
  • Select an option

  • Save omgjlk/203fdaba80efb382c767 to your computer and use it in GitHub Desktop.

Select an option

Save omgjlk/203fdaba80efb382c767 to your computer and use it in GitHub Desktop.
root@ds1399:~# pip --version
pip 1.4.1 from /usr/local/lib/python2.7/dist-packages (python 2.7)
root@ds1399:~# mkdir foobar
root@ds1399:~# cd foobar/
root@ds1399:~/foobar# virtualenv .
New python executable in ./bin/python
Please make sure you remove any previous custom paths from your /root/.pydistutils.cfg file.
Installing distribute.............................................................................................................................................................................................done.
Installing pip...............done.
root@ds1399:~/foobar# ./bin/pip
pip pip-2.7
root@ds1399:~/foobar# ./bin/pip --version
pip 1.1 from /root/foobar/lib/python2.7/site-packages/pip-1.1-py2.7.egg (python 2.7)
@paulczar
Copy link

➜  /tmp  virtualenv test
New python executable in test/bin/python
Installing setuptools, pip...done.
➜  /tmp  pip --version
pip 6.0.8 from /usr/local/lib/python2.7/dist-packages (python 2.7)
➜  /tmp  test/bin/pip --version
pip 6.0.8 from /tmp/test/local/lib/python2.7/site-packages (python 2.7)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment