[ckan-discuss] cannot import c
Sean Hammond
sean.hammond at okfn.org
Wed Feb 6 10:35:34 GMT 2013
> I got this error when I tried to create the database tables and the cache
> and session directories
>
> from pylons import c, g
> ImportError: cannot import name c
This looks like you have the wrong version of Pylons installed. Try
reinstalling CKAN's dependencies in your virtualenv:
pip install -I -r ckan/pip-requirements.txt
If you run `pip freeze` it will print out a list of all the Python
modules you have installed. You should see each of the modules listed in
ckan/pip-requirements.txt in this list, and they should be the same
versions.
More information about the ckan-discuss
mailing list