[MapProxy] problems with apache and mod_wsgi: Import error: no module named site

Oliver Tonnhofer olt at omniscale.de
Fri Mar 8 02:41:20 PST 2013


On 06.03.2013, at 16:51, Oliver Rau wrote:
> i am using Mapproxy 1.5 under Ubuntu 12.04 and i have problems with deploying Mapproxy with Apache and the mod_wsgi module. 
> Some months ago everthing worked perfect, i haven't changed settings in any apache config files but after updating to version Mapproxy 1.5 i got the problems. 
> [...]
> [Wed Mar 06 13:52:28 2013] [warn] mod_wsgi: Compiled for Python/2.7.2+. 
> [Wed Mar 06 13:52:28 2013] [warn] mod_wsgi: Runtime using Python/2.7.3. 
> [Wed Mar 06 13:52:28 2013] [notice] Apache/2.2.22 (Ubuntu) mod_wsgi/3.3 Python/2.7.3 configured -- resuming normal operations 
> ImportError: No module named site 
> ImportError: No module named site 
> ImportError: No module named site 

Did you changed something with the virtualenv in /home/gisuser/mapproxy?
Maybe it is related to http://lists.osgeo.org/pipermail/mapproxy/2012-October/001291.html

Does mapproxy-util serve-develop work?



Regards,
Oliver

-- 
Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.com
http://mapproxy.org | https://github.com/olt    | @oltonn









More information about the MapProxy mailing list