[Developers] dependency issue freebase-python

Tom Morris tfmorris at gmail.com
Tue Feb 17 18:24:32 UTC 2009


On Sun, Feb 15, 2009 at 5:55 PM, Harry Tormey <slander at unworkable.org> wrote:

> I ran into the following dependency oddness when trying to run
>
> freebase-api/examples/get_albums.py
>
> Traceback (most recent call last):
> File "test_all.py", line 32, in <module>
> from freebase.api import HTTPMetawebSession
>  File "build/bdist.macosx-10.5-i386/egg/freebase/api/__init__.py", line 2,
> in <module>  File
> "build/bdist.macosx-10.5-i386/egg/freebase/api/session.py", line 49,
> in <module> ImportError: No module named django.utils
>
> Installing django fixes the issue but I am sure their is a nicer way
> of taking care of this with setup.py.

I ran into this too.  The error message is a little misleading because
it's actually coming from a fallback attempt.  The original import is
for simplejson http://pypi.python.org/pypi/simplejson so that's what I
installed.

Tom


More information about the Developers mailing list