[Mapit] Mapit! on Debian?

Bernhard Herzog bh at intevation.de
Wed May 25 11:31:59 CEST 2005


Jan-Oliver Wagner <jan at intevation.de> writes:

> On Tue, May 24, 2005 at 12:19:48PM -0500, Neil Best wrote:
>>   File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 454, in import_module
>>     f, p, d = imp.find_module(parts[i], path)
>> 
>> ImportError: No module named modmapit
[...]
> Python does not find the module. It must be in a directory listed
> in the environment variable PYTHON_PATH or in the systems ones.
> I do not recommend to place it somewhere on the systems area manually.
> Better place it somewhere else and set the PYTHONPATH accordingly.

It's also possible to set the path from apache's config files.  See e.g.
http://www.modpython.org/live/current/doc-html/dir-other-pp.html

  Bernhard

-- 
Intevation GmbH                                 http://intevation.de/
Skencil                                           http://skencil.org/
Thuban                                  http://thuban.intevation.org/




More information about the Mapit mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)