Development, Python

Python: Setting up in Windows 7

Python
Python
  1. Download latest 2.x at https://www.python.org/downloads/
  2. Set Environment path: C:Python27;C:Python27Libsite-packages;C:Python27Scripts;
  3. Install Setuptools: https://pypi.python.org/pypi/setuptools#windows-7-or-graphical-install
    1. Download the script
    2. Open CMD
    3. Go to the script directory
    4. Run the script: python ez_setup.py
    5. Exit once done (Ctrl + Z, then Enter)

Test your installation by open up CMD, and type in python. You should see something similar to the screen shot below.

cmd-python

Following are optional:

  1. Install pip: C:> easy_install pip
  2. Install the followng using pip
    1. Mechanize: C:> pip install mechanize
    2. BeatifulSoup4: C:> pip install beautifulsoup4
    3. CSVKIT: C:> pip install csvkit

References:

  1. http://www.anthonydebarros.com/2011/10/15/setting-up-python-in-windows-7/
  2. http://www.anthonydebarros.com/2011/09/11/csvkit-data-files/

One thought on “Python: Setting up in Windows 7

Leave a Reply

Your email address will not be published. Required fields are marked *

13 + 14 =