Installing CKAN locally on OSX 10.9, based on http://docs.ckan.org/en/latest/maintaining/installing/install-from-source.html.
I\'ve created and activated the python virt
ImportError: No module named pylons.util
looks like Python cannot find the Pylons package, one of the Python packages that CKAN depends on. Two possibilities come to mind:
Did you activate your CKAN virtualenv, before running the paster command? ~/ckan/default/bin/activate
.
Have you installed the Python packages that CKAN depends on into your virtualenv? With the virtualenv activated run pip install -r ~/ckan/default/src/ckan/requirements.txt
If you activate your CKAN virtual environment and then run pip freeze | grep pylons
, this should tell you whether pylons is installed in the virtualenv.
The Distribution already installed:
at the top of your terminal output is strange.
I had the same error and a slightly different solution:
sudo
, so I went out of it (sudo -k
)IOError: [Errno 13] Permission denied: '/etc/ckan/default/development.ini'
~/ckan/etc
and that folder did not have correct permissionssudo chown -R `whoami` ~/ckan/etc
and followed up with paster make-config ckan /etc/ckan/default/development.ini