[gdal-dev] gdalnumeric issue

Even Rouault even.rouault at spatialys.com
Wed Nov 19 02:15:49 PST 2014


Andreas,

try setting PYTHONPATH=/usr/local/lib/python2.7/dist-packages as environment 
variable.

Even

> Hi,
> 
> I wanted to run gdal_calc.py
> 
> When I run it, it complains about an import error:
> 
> -----------------
> Traceback (most recent call last):
>    File "/usr/local/bin/gdal_calc.py", line 50, in <module>
>      from gdalnumeric import *
> ImportError: No module named gdalnumeric
> -----------------
> 
> However, it seems to present on my system at the path
> /usr/local/lib/python2.7/dist-packages/osgeo/gdalnumeric.py
> 
> How can I tell gdal_calc.py where to find gdalnumeric?
> 
> Thank you for any hints!
> 
> Andreas
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list