SV: SV: [MapProxy] installation problem
Johan Sandberg
johs at kth.se
Mon Feb 28 09:17:20 EST 2011
Hi!
I dont really understand what you mean by setting MAPPROXY_USE_PYPROJ. Is this a file I should rearange?
This is what I have in pyproj folder
C:\mapproxy_venv\Lib\site-packages\pyproj-1.8.8-py2.6-win32.egg\pyproj
a file thats called "_proj.py" which contains this information
def __bootstrap__():
global __bootstrap__, __loader__, __file__
import sys, pkg_resources, imp
__file__ = pkg_resources.resource_filename(__name__,'_proj.pyd')
__loader__ = None; del __bootstrap__, __loader__
imp.load_dynamic(__name__,__file__)
__bootstrap__()
________________________________________
Från: Oliver Tonnhofer [olt at omniscale.de]
Skickat: den 28 februari 2011 14:27
Till: Johan Sandberg
Kopia: Sandor Csaba; mapproxy at lists.osgeo.org
Ämne: Re: SV: [MapProxy] installation problem
Hej Johan,
On 28.02.2011, at 14:12, Johan Sandberg wrote:
> Hello Olivier!
> I tried the installation at home and it didn't work either. So I downloaded the proj.py from bitbucket and after this it worked. At work I tried the same thing but it gives the same error messages as before.
> This is how the proj.py I downloaded looks like and i put it to C:\mapproxy_venv\Lib\site-packages\pyproj-1.8.8-py2.6-win32.egg\pyproj
[...]
You are mixing pyproj (a Python library that includes proj4) and proj.py (part of MapProxy that handles) here. Just set the environment MAPPROXY_USE_PYPROJ and check if that works.
> How do I check which version of proj4 I have installed? I dont find this directory at all. Im using windowsXP by the way.
> Or could I just start over again and delete everything? How do i make sure that evetyhing gets deleted so it doesn't use older versions of the libarys?
Removing the MapProxy installation is of no use, because the proj4 installation can be anywhere on your system. Do you have FWTools or MS4W installed?
Regards,
Oliver
--
Oliver Tonnhofer | Omniscale GmbH & Co KG | http://omniscale.de
http://mapproxy.org | https://bitbucket.org/olt
More information about the MapProxy
mailing list