Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ckan API fails on OS X ; missing pylons dependency #1

Closed
pjakobsen opened this issue May 23, 2013 · 2 comments
Closed

Ckan API fails on OS X ; missing pylons dependency #1

pjakobsen opened this issue May 23, 2013 · 2 comments

Comments

@pjakobsen
Copy link

Latest version of CKAN and Pylons is installed in my virtualenv, yet I get:

import ckanapi
File "/Users/peder/source/ckanapi/ckanapi.py", line 64, in
from ckan.logic import (ParameterError, NotAuthorized, NotFound,
File "/Users/peder/Envs/ckan-datatools/lib/python2.7/site-packages/ckan-2.0b-py2.7.egg/ckan/logic/init.py", line 8, in
import ckan.lib.base as base
File "/Users/peder/Envs/ckan-datatools/lib/python2.7/site-packages/ckan-2.0b-py2.7.egg/ckan/lib/base.py", line 9, in
from pylons import c, cache, config, g, request, response, session
ImportError: cannot import name c

@wardi
Copy link
Contributor

wardi commented May 24, 2013

That looks like a CKAN import failure. Maybe you're using the wrong pylons?

CKAN's requirements.txt says Pylons==0.9.7

@pjakobsen
Copy link
Author

Working now, thanks

wardi pushed a commit that referenced this issue May 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants