[ckan-dev] ImportError: cannot import name get_library_registry

Dave Caraway dave at fogmine.com
Sun Jul 7 15:47:21 UTC 2013


new to project myself, but wondering if you have fantastic installed.
have you run
pip install -r requirements.txt
?

if so, make sure if you installed in virtual environment that you
activate that environment using the <virtenv>/Scripts/activate




On Jul 7, 2013, at 9:33 AM, Reinoud Bosch <rbo at iisg.nl> wrote:

> 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
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev




More information about the ckan-dev mailing list