views:

4707

answers:

4

http://pypi.python.org/pypi/simplejson

I am just diving into the Python world and want to make a simple twitter application which requires the installation of simplejson but not sure how I can set it up and get it working..

I am on a Windows System

+8  A: 

I would recommend EasyInstall, a package management application for Python.

Once you've installed EasyInstall, you should be able to go to a command window and type:

easy_install simplejson

This may require putting easy_install.exe on your PATH first, I don't remember if the EasyInstall setup does this for you (something like C:\Python25\Scripts).

Ryan Duffield
http://pypi.python.org/pypi/setuptools#downloads only seems to work with python 2.5? I have 2.6 installed...workarounds?
TimLeung
It looks like it's included in Python 2.6. But, many of us still have to use Python 2.5. :-)
Ryan Duffield
+4  A: 

If you have Python 2.6 installed then you already have simplejson - just import json; it's the same thing.

Jacob Gabrielson
+1  A: 

http://stackoverflow.com/questions/309412/how-to-setup-setuptools-for-python-2-6-on-windows

This is very similar to the problem :)

TimLeung
A: 

Download the source code, unzip it to and directory, and execute python setup.py install.

SearchDream