tags:

views:

436

answers:

2

I'm trying to run a command to install bespinclient on my Windows laptop but every time I execute the command python bootstrap.py --no-site-packages, I get an error saying:

ImportError: No module named simplejson

I'm using Mozilla build tools to run these Linux commands.

A: 

That means you must install simplejson. On newer versions of python, it was included by default into python's distribution, and renamed to json, so if you are on python 2.6+ you can edit the file and change the line

import simplejson

to

import json as simplejson

and hopefully things will work.

nosklo
A: 

@noskio is correct... it just means that simplejson isn't found on your system and you need to install it for Python older than 2.6. one way is to use the setuptools easy_install tool. with it, you can install it as easily as: easy_install simplejson

wescpy