Python 3.1 simplejson install

Peter Otten __peter__ at
Fri Jan 29 15:33:11 CET 2010

dirknbr wrote:

> I am trying to install simplejson on Python 3.1 on Windows. When I do
> 'python install' I get 'except DisutilsPlatformError, x:
> SyntaxError' with a dash under the comma.

You are trying to install a package written for Python 2.x on 3.x, and some 
of the 2.x Syntax is illegal in Python 3.

I recommend that you use the json module instead that is already included in 
the 3.1 distribution, see


More information about the Python-list mailing list