[osgeo4w-dev] [osgeo4w] #466: Python stopped working when using python gdal_calc and band.ReadAsArray() on Windows
OSGeo4W
trac_osgeo4w at osgeo.org
Mon Apr 24 04:51:01 PDT 2017
#466: Python stopped working when using python gdal_calc and band.ReadAsArray()
on Windows
------------------------+----------------------------
Reporter: miro | Owner: osgeo4w-dev@…
Type: defect | Status: new
Priority: major | Component: Package
Version: | Resolution:
Keywords: gdal python |
------------------------+----------------------------
Comment (by rouault):
The issue can be more simply reproduced when just doing "from osgeo import
gdalnumeric" and exiting the Python
console.
This doesn't look like a fundamental flow of GDAL on Windows, since when
using miniconda,
or when building myself GDAL (with VS 2010 express, 64 bit), I don't have
this issue.
For the record, my build recipee for the python bindings
- install Python 2.7.12 64bit
- pip install numpy ==> install numpy 1.11.2
- set DISTUTILS_USE_SDK=1
- set MSSdk=1
- cd gdal/swig/python
- python setup.py build
--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/466#comment:9>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.
More information about the osgeo4w-dev
mailing list