Difference between revisions of "Setting up Python easy install for Cygwin"

From PeformIQ Upgrade
Jump to navigation Jump to search
(Created page with "See here - To get easy_install and pip running under cygwin first download [ez_setup.py] and run it with python: $ python ez_setup.py This should install setuptools a...")
 
Line 3: Line 3:




To get easy_install and pip running under cygwin first download [ez_setup.py] and run it with python:
To get easy_install and pip running under cygwin first download [[ez_setup.py]] and run it with python:


   $ python ez_setup.py
   $ python ez_setup.py
Line 27: Line 27:


   $ easy_install python-dateutil
   $ easy_install python-dateutil
[[Category:Python]]

Revision as of 14:48, 12 January 2014

See here -


To get easy_install and pip running under cygwin first download ez_setup.py and run it with python:

 $ python ez_setup.py


This should install setuptools and also create an easy_install script for your python version which can then be used to install pip:

 $ easy_install pip

This will install pip into your python site packages directory. You should then be able to use pip to install other Python packages.


dateutil

To get only dateutil:

 $ pip install python-dateutil

or

 $ easy_install python-dateutil