Saturday, January 25, 2014

pip install on mac os x 10.6.8

$ python -c "import ssl; print ssl.OPENSSL_VERSION"
OpenSSL 0.9.7l 28 Sep 2006
$ sudo pip install virtualenv
Downloading/unpacking virtualenv
  Cannot fetch index base URL https://pypi.python.org/simple/
  Could not find any downloads that satisfy the requirement virtualenv
Cleaning up...
No distributions at all found for virtualenv
$ pip --version
pip 1.5.1 from /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.5.1-py2.7.egg (python 2.7)
Downgrade pip:
$ sudo easy_install pip==1.2.1
$ sudo pip install virtualenv
Downloading/unpacking virtualenv
  Downloading virtualenv-1.11.1.tar.gz (1.8MB): 1.8MB downloaded
  Running setup.py egg_info for package virtualenv
    
    warning: no previously-included files matching '*' found under directory 'docs/_templates'
    warning: no previously-included files matching '*' found under directory 'docs/_build'
Installing collected packages: virtualenv
  Running setup.py install for virtualenv
    
    warning: no previously-included files matching '*' found under directory 'docs/_templates'
    warning: no previously-included files matching '*' found under directory 'docs/_build'
    Installing virtualenv script to /Library/Frameworks/Python.framework/Versions/2.7/bin
    Installing virtualenv-2.7 script to /Library/Frameworks/Python.framework/Versions/2.7/bin
Successfully installed virtualenv
Cleaning up...

No comments: