<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hello,<br>
So I am trying to run the example called "Clip a Geotiff with Shapefile" from this website
<a href="https://pcjericks.github.io/py-gdalogr-cookbook/raster_layers.html." target="_blank">
https://pcjericks.github.io/py-gdalogr-cookbook/raster_layers.html.</a> However, I get an error about numpy although I do have numpy installed. I believe is something with GDAL. Here is my output error:<br>
<br>
ImportError: numpy.core.multiarray failed to import<br>
<br>
Traceback (most recent call last):<br>
File "C:\Users\r294505\Desktop\pythonTesting.py", line 1, in <module><br>
from osgeo import gdal, gdalnumeric, ogr, osr<br>
File "C:\Python27\lib\site-packages\osgeo\gdalnumeric.py", line 1, in <module><br>
from gdal_array import *<br>
File "C:\Python27\lib\site-packages\osgeo\gdal_array.py", line 26, in <module><br>
_gdal_array = swig_import_helper()<br>
File "C:\Python27\lib\site-packages\osgeo\gdal_array.py", line 22, in swig_import_helper<br>
_mod = imp.load_module('_gdal_array', fp, pathname, description)<br>
ImportError: numpy.core.multiarray failed to import<br>
<br>
By the way, I am running 64 bit windows 7 in case that is of any help. Any help as to what could be this error would be appreciated.<br>
<br>
Thank You<br>
</div>
</body>
</html>