[ckan-dev] New to CKAN (and Python)

Muse, Scott SCOTT.MUSE at LibertyMutual.com
Thu Feb 13 18:02:37 UTC 2014


Hi Sajan,

Yes, using this command: . /usr/lib/ckan/default/bin/activate.

Is static a part of WebOB 1.0.8?

Thanks,

-Scott

From: ckan-dev [mailto:ckan-dev-bounces at lists.okfn.org] On Behalf Of Sajan Ravindran
Sent: Thursday, February 13, 2014 12:17 PM
To: CKAN Development Discussions
Subject: Re: [ckan-dev] New to CKAN (and Python)

Hi Scott,
Was wondering, did you activate the virtualenv?
Regards,
Sajan

On Thu, Feb 13, 2014 at 9:36 AM, Muse, Scott <SCOTT.MUSE at libertymutual.com<mailto:SCOTT.MUSE at libertymutual.com>> wrote:
Hi,

I'm trying to install CKAN for the first time and am at step 6 Create database tables:

I'm running this command: paster db init -c /etc/ckan/default/development.ini

With this results:

Traceback (most recent call last):
  File "/usr/lib/ckan/default/bin/paster", line 9, in <module>
    load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()
  File "/usr/lib/ckan/default/lib/python2.6/site-packages/paste/script/command.py", line 103, in run
    command = commands[command_name].load()
  File "/usr/lib/ckan/default/lib/python2.6/site-packages/pkg_resources.py", line 2029, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/lib/ckan/default/src/ckan/ckan/lib/cli.py", line 11, 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
  File "/usr/lib/ckan/default/lib/python2.6/site-packages/fanstatic/__init__.py", line 30, in <module>
    from fanstatic.publisher import (Publisher, Delegator, make_publisher,
  File "/usr/lib/ckan/default/lib/python2.6/site-packages/fanstatic/publisher.py", line 7, in <module>
    import webob.static
ImportError: No module named static

WebOb==1.0.8 has been installed successful: Requirement already satisfied (use --upgrade to upgrade): WebOb==1.0.8 in /usr/lib/ckan/default/lib/python2.6/site-packages

Any help you can provide would be greatly appreciated.

Thanks,

-Scott
_______________________________________________
ckan-dev mailing list
ckan-dev at lists.okfn.org<mailto:ckan-dev at lists.okfn.org>
https://lists.okfn.org/mailman/listinfo/ckan-dev
Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140213/b9480d16/attachment-0003.html>


More information about the ckan-dev mailing list