ImportError: No module named json

Issue #37 resolved
Jens Bäckman created an issue

The module 'json' is only available in Python 2.6 and later. When running on earlier versions, loading controllers/summary.py will throw this exception.

Solution: If installed on Python < 2.6, depend on simplejson. The code will require this change as well: {{{

!python

try: import json except ImportError: import simplejson as json }}}

Comments (2)

  1. Marcin Kuzminski repo owner

    Right, i Think i did it in one place and obviously forgot to re factor all other codes when json is imported. I'll fixit today. Thanks

  2. Log in to comment