views:

269

answers:

1

How do I get the Python libraries for using the Freebase API to work under IronPython 2.0?

When I "import freebase.api", I get "ImportError: No module named django.utils". What gives?

+1  A: 

You're missing the simplejson module. Since easy_install doesn't yet work with IronPython, your best bet is to grab the latest code using SVN from their Google Code project, or download a zip file.

Put all of the files that you obtained into the lib/site-packages/simplejson folder under your IronPython installation directory.

Now you'll be able to successfully "import freebase.api".

sblom