[ckan-dev] ImportError: No module named ckan.lib.cli
Dr. Jeff Grover
drjeffgrover at gmail.com
Mon May 20 01:17:47 UTC 2019
Please take me off this list
Jeff
On Sun, May 19, 2019 at 9:16 PM Judith Moran <Judith.Moran at nt.gov.au> wrote:
> Hi,
>
>
>
> I am starting ckan via httpd.
>
>
>
> I read this error related to virtual environment.
>
>
>
> So I stopped httpd and started virtual - .
> /usr/lib/ckan/default/bin/activate but still get the error.
>
>
>
> Gosh this is just too all over the place?? For a person who just wants to
> have CKAN as a simple customisable product and can run as per guide I am
> afraid it fails badly.
>
>
>
>
>
> The error.
>
>
>
>
>
>
>
> ckanapi dump datasets --all -O my_datasets.jsonl
>
> Traceback (most recent call last):
>
> File "/usr/bin/ckanapi", line 9, in <module>
>
> load_entry_point('ckanapi==4.1', 'console_scripts', 'ckanapi')()
>
> File "/usr/lib/python2.7/site-packages/ckanapi/cli/main.py", line 94, in
> main
>
> return _switch_to_paster(arguments)
>
> File "/usr/lib/python2.7/site-packages/ckanapi/cli/main.py", line 142,
> in _switch_to_paster
>
> sys.exit(load_entry_point('PasteScript', 'console_scripts',
> 'paster')())
>
> File "/usr/lib/python2.7/site-packages/paste/script/command.py", line
> 103, in run
>
> command = commands[command_name].load()
>
> File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line
> 2343, in load
>
> return self.resolve()
>
> File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line
> 2349, in resolve
>
> module = __import__(self.module_name, fromlist=['__name__'], level=0)
>
> File "/usr/lib/python2.7/site-packages/ckanapi/cli/paster.py", line 2,
> in <module>
>
> from ckan.lib.cli import CkanCommand
>
> ImportError: No module named ckan.lib.cli
>
>
>
> *Judy Moran*
> *Manager Data Strategy*
> Department of *Corporate and Information Services*
> Northern Territory Government of Australia
>
> *T:* 892 96550
> *E:* DataStrategy.NTG at nt.gov.au
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
--
Dr Jeff Grover
Grover Group, Inc.
Principal
drjeffgrover at gmail.com
270-312-8077
@TheDataSniffer
www.BayeSniffer.com
Turtle-Pac US Government Associate
https://www.facebook.com/turtlepacUS/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20190519/892364ed/attachment-0002.html>
More information about the ckan-dev
mailing list