AW: [Community] Problem installing ZCO and PrimaGIS

Kai Hänninen kai.hanninen at mbconcert.fi
Fri Mar 24 15:46:07 EET 2006


Uwe Seher wrote:
> Hello again!
> 
> New day, new problems ;)
> I found aut, that the ogr.py was installed, but on python2.4, so the files
> couldn't by found with zope, which ist the only application using python2.3.
> I copied the files now from the 2.4 to 2.3 path, and restarted zope. After
> that the event.log shows new errors:
> 
>  ------
> 2006-03-24T11:35:32 ERROR Zope Couldn't install PrimaGIS
> Traceback (most recent call last):
>   File "/usr/local/zope/lib/python/OFS/Application.py", line 773, in
> install_product
>     initmethod(context)
>   File "/srv/zope/Products/PrimaGIS/__init__.py", line 16, in initialize
>     import PrimaGISMap, PrimaGISLayer, PrimaGISDataLayer, PrimaGISView
>   File "/srv/zope/Products/PrimaGIS/PrimaGISMap.py", line 51, in ?
>     import simplejson as JSON
> ImportError: No module named simplejson

Looks like you need to install simplejson. If you have setuptools 
installed you can simply do:

  $ easy_install simplejson

or you can download it from

   http://cheeseshop.python.org/pypi/simplejson

The requirements are mentioned in the PrimaGIS/INSTALL.txt file.

--Kai


-- 
Kai Hänninen                  +358-50-558-7935
Software engineer             www.mbconcert.fi
MB Concert Ky                 kai.hanninen at mbconcert.fi



More information about the Community mailing list