[ckan-dev] Installing ckanext-spatial fails during configuration.

Henrik Aagaard Sørensen BU1G at tmf.kk.dk
Mon Jun 17 07:09:31 UTC 2013


I'm trying to install the spatial extension. When reaching configuration after PostGIS installation, I get the following error:

Traceback (most recent call last):
  File "/usr/lib/ckan/default/bin/paster", line 9, in <module>
    load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()
  File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py", line 103, in run
    command = commands[command_name].load()
  File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py", line 1989, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/lib/ckan/default/src/ckanext-spatial/ckanext/spatial/commands/spatial.py", line 8, in <module>
    from ckanext.spatial.lib import save_package_extent
  File "/usr/lib/ckan/default/src/ckanext-spatial/ckanext/spatial/lib/__init__.py", line 7, in <module>
    from ckanext.spatial.model import PackageExtent
  File "/usr/lib/ckan/default/src/ckanext-spatial/ckanext/spatial/model/__init__.py", line 10, in <module>
    from harvested_metadata import *
  File "/usr/lib/ckan/default/src/ckanext-spatial/ckanext/spatial/model/harvested_metadata.py", line 1, in <module>
    from lxml import etree
ImportError: No module named lxml

It's when running the command:
sudo /usr/lib/ckan/default/bin/paster --plugin=ckanext-spatial spatial initdb 4326 --config=/etc/ckan/default/production.ini

I cannot find any package called lxml via apt-get...

Any help, all help is very much appreciated.

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130617/7f714e7c/attachment.html>


More information about the ckan-dev mailing list