[ckan-dev] ImportError: cannot import name get_library_registry

Reinoud Bosch rbo at iisg.nl
Sun Jul 7 13:18:37 UTC 2013


Hi,

I am trying to install CKAN but I get an ImportError: cannot import name get_library_registry:

paster db init -c /etc/ckan/default/development.ini
Traceback (most recent call last):
  File "/usr/bin/paster", line 4, in <module>
    command.run()
  File "/usr/lib/python2.7/dist-packages/paste/script/command.py", line 103, in run
    command = commands[command_name].load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2013, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/lib/ckan/default/src/ckan/ckan/lib/cli.py", line 10, in <module>
    import ckan.lib.fanstatic_resources as fanstatic_resources
  File "/usr/lib/ckan/default/src/ckan/ckan/lib/fanstatic_resources.py", line 6, in <module>
    from fanstatic import Library, Resource, Group, get_library_registry
ImportError: cannot import name get_library_registry

Do you have any hints on how to resolve this? Thanks,

Reinoud




More information about the ckan-dev mailing list