Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install SimpleJson Package for Python

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

like image 393
TimLeung Avatar asked Apr 04 '09 23:04

TimLeung


People also ask

What is SimpleJson in Python?

simplejson is a simple, fast, complete, correct and extensible JSON encoder and decoder for Python. It is pure Python code with no dependencies, but includes an optional C extension for a serious speed boost. simplejson exposes an API familiar to users of the standard library marshal and pickle modules.

How do you download SYS in Python?

Getting Started. The sys module comes packaged with Python, which means you do not need to download and install it separately using the PIP package manager.


2 Answers

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).

like image 96
Ryan Duffield Avatar answered Sep 20 '22 05:09

Ryan Duffield


Really simple way is:

pip install simplejson 
like image 36
css-candies Avatar answered Sep 19 '22 05:09

css-candies