Python 3.1 simplejson install
Peter Otten
__peter__ at web.de
Fri Jan 29 09:33:11 EST 2010
dirknbr wrote:
> I am trying to install simplejson on Python 3.1 on Windows. When I do
> 'python setup.py 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
http://docs.python.org/3.1/library/json.html
Peter
More information about the Python-list
mailing list