[ckan-dev] setuptools versions

Shane Davis shane.davis at linkdigital.com.au
Thu Jul 21 23:40:36 UTC 2016


I've encounted the setuptools issue with 2.5.1 and 2.5.2.

The work around I found was upgrading setuptools as already suggested, but
also upgrading bleach from 1.4.2 to 1.4.3.

The ongoing issue I now face is not being able to use pip. I get the
following error:

/usr/lib/ckan/default/bin/pip I get:

Traceback (most recent call last):

File "/usr/lib/ckan/default/lib64/python2.7/site.py", line 890, in <module>

main()

File "/usr/lib/ckan/default/lib64/python2.7/site.py", line 848, in main

virtualenv_search_paths(sys.prefix)

File "/usr/lib/ckan/default/lib64/python2.7/site.py", line 638, in
virtualenv_search_paths

addsitedir(sitedir, known_paths)

File "/usr/lib/ckan/default/lib64/python2.7/site.py", line 204, in
addsitedir

addpackage(sitedir, name, known_paths)

File "/usr/lib/ckan/default/lib64/python2.7/site.py", line 173, in
addpackage

exec(line)

File "<string>", line 1, in <module>

KeyError: 'ckanext'


I read a couple of posted about this that identified problems with python
namespace and internationalisation. This was within the context of CKAN 2.3
so I don't know whether it's relevant. I've got at least two big
environments I need to provision so I'll be working through this over the
next couple of days.

Shane.


------------------------------------------------------------------
*SHANE DAVIS*  |  *SERVICE DELIVERY MANAGER*
Link Digital
shane.davis at linkdigital.com.au
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20160722/199c5b19/attachment-0003.html>


More information about the ckan-dev mailing list