How to get the Freebase Python libraries to work in IronPython
-
09-09-2019 - |
Question
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?
Solution
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".
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow