[ckan-dev] Installing ckanext-spatial fails during configuration.
Henrik Aagaard Sørensen
BU1G at tmf.kk.dk
Tue Jun 18 10:15:32 UTC 2013
That did the trick. THANK you so much ☺
Fra: ckan-dev-bounces at lists.okfn.org [mailto:ckan-dev-bounces at lists.okfn.org] På vegne af Nigel Babu
Sendt: 18. juni 2013 11:51
Til: CKAN Development Discussions
Emne: Re: [ckan-dev] Installing ckanext-spatial fails during configuration.
Hi Henrik,
Can you do the following,
sudo su
apt-get install libxml2-dev libxslt-dev python-dev
source /usr/lib/ckan/default/bin/activate
pip install lxml
Nigel Babu
Developer | @nigelbabu<https://twitter.com/nigelbabu>
The Open Knowledge Foundation<http://okfn.org/>
Empowering through Open Knowledge
http://okfn.org/ | @okfn<http://twitter.com/OKFN> | OKF on Facebook<https://www.facebook.com/OKFNetwork> | Blog<http://blog.okfn.org/> | Newsletter<http://okfn.org/about/newsletter>
CKAN | http://ckan.org/ | @CKANproject<http://twitter.com/CKANproject> | the world’s leading open-source data portal platform
On 18 June 2013 14:22, Henrik Aagaard Sørensen <BU1G at tmf.kk.dk<mailto:BU1G at tmf.kk.dk>> wrote:
From package on Ubuntu 12.04 LTS.
Fra: ckan-dev-bounces at lists.okfn.org<mailto:ckan-dev-bounces at lists.okfn.org> [mailto:ckan-dev-bounces at lists.okfn.org<mailto:ckan-dev-bounces at lists.okfn.org>] På vegne af Nigel Babu
Sendt: 18. juni 2013 10:40
Til: CKAN Development Discussions
Emne: Re: [ckan-dev] Installing ckanext-spatial fails during configuration.
Hi Henrik,
Did you install CKAN from source or from the Debian package?
Nigel Babu
Developer | @nigelbabu<https://twitter.com/nigelbabu>
The Open Knowledge Foundation<http://okfn.org/>
Empowering through Open Knowledge
http://okfn.org/ | @okfn<http://twitter.com/OKFN> | OKF on Facebook<https://www.facebook.com/OKFNetwork> | Blog<http://blog.okfn.org/> | Newsletter<http://okfn.org/about/newsletter>
CKAN | http://ckan.org/ | @CKANproject<http://twitter.com/CKANproject> | the world’s leading open-source data portal platform
On 17 June 2013 12:39, Henrik Aagaard Sørensen <BU1G at tmf.kk.dk<mailto:BU1G at tmf.kk.dk>> wrote:
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
_______________________________________________
ckan-dev mailing list
ckan-dev at lists.okfn.org<mailto:ckan-dev at lists.okfn.org>
http://lists.okfn.org/mailman/listinfo/ckan-dev
Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
_______________________________________________
ckan-dev mailing list
ckan-dev at lists.okfn.org<mailto:ckan-dev at lists.okfn.org>
http://lists.okfn.org/mailman/listinfo/ckan-dev
Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130618/d1480766/attachment-0001.html>
More information about the ckan-dev
mailing list