[ckan-dev] How to Install Datastorer?

Dominik Moritz dominik.moritz at okfn.org
Wed Jul 3 18:46:11 UTC 2013


Hey,

just go into your ckan folder, activate the virtual environment and run `paster setup.py develop`.

Hope this helps,
Dominik

On 3 Jul 2013, at 17:27, zigchg at gmail.com wrote:

> Hi guys,
> 
> 
> Thank you for the help last time. Now we are installing datastorer, under terminal in Ubuntu, following the steps with celery in https://github.com/okfn/ckanext-datastorer .
> 
> 
> However, when we tried to run the paster command as:
> 
> 
> $ (pyenv) paster datastorer update -c /etc/ckan/default/production.ini
> 
> 
> It failed and indicated as:
> 
> 
> [...]
> 
> File “/root/pyenv/src/ckanext-datastorer/ckanext/datastorer/commands.py”, line 11, in <module> from ckan.lib.cli import CkanCommand
> 
> ImportError: No module named ckan.lib.cli
> 
> 
> I checked the file commands.py, in the line 11, it wrotes:
> 
> 
> from ckan.lib.cli import CkanCommand
> 
> 
> It seems the paster command cannot find ckan.lib.cli, is that the problem? How can us solve it?
> 
> 
> Thank you!
> 
> 
> 
> Shawn_______________________________________________
> 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

Dominik Moritz
CKAN developer  |  skype: d.moritz  |  @doobly_doo
The Open Knowledge Foundation
Empowering through Open Knowledge
http://okfn.org/  |  @okfn  |  http://ckan.org  |  @CKANproject





More information about the ckan-dev mailing list