[Developers] dependency issue freebase-python

Harry Tormey slander at unworkable.org
Sun Feb 15 22:55:17 UTC 2009


Hi Guys,
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 am currently using Python 2.5.1 (r251:54863, Apr 15 2008, 22:57:26) 
with the latest version of http://code.google.com/p/freebase-python/

Anyway just a headsup.

-- 
Harry Tormey
P2P Research
PyGameSF
http://pygamesf.org
http://p2presearch.com


More information about the Developers mailing list