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:\Python27\Lib\site-packages\;C:\Python27\Scripts\;
  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/
Advertisements

One thought on “Python: Setting up in Windows 7

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s