<div dir="ltr"><div><div><div><div><div><div>Hi forum<br><br></div>each time I try to write a code using the numpy library, qgis crashes and quits, so I can't geyt any relevant information about my error.<br></div><div>This happen when I use qgis 2.18.16 in Lubuntu 16.04.<br></div><div><br></div>For example, if I try to run this very small script<br><br>import numpy as np<br>from osgeo import gdal<br><br>ds = gdal.Open("/home/giacomo/Dropbox/Linux/VHVV.tif")<br>myarray = np.array(ds.GetRasterBand(1).ReadAsArray()<br><br></div>Qgis quits.<br><br></div>The strange thing is that it doesn't happen when I launch the same script in QGIS 2.18.15 in Windows 10.<br><br></div>Any help<br><br></div>Thank you<br></div>