<div dir="ltr">Group,<div>I am running a python code (worked well on earlier gdal version but not on 2.1) calling gdal with the following errors.</div><div><img src="cid:ii_157b707eef68f66c" alt="Inline image 1" style="margin-right: 25px;"><br></div><div class="gmail_extra"><div class="gmail_extra">The code start as follows....</div><div class="gmail_extra"><br></div><div class="gmail_extra">#!/usr/bin/env python<br></div><div class="gmail_extra">import os</div><div class="gmail_extra">import sys </div><div class="gmail_extra">import subprocess</div><div class="gmail_extra">import shutil</div><div class="gmail_extra">import binascii</div><div class="gmail_extra">import tempfile</div><div class="gmail_extra"><br></div><div class="gmail_extra">import gdal</div><div class="gmail_extra">from gdalconst import *</div><div class="gmail_extra">from datetime import datetime</div><div class="gmail_extra">...</div><div class="gmail_extra">...</div><div class="gmail_extra"><br></div><div class="gmail_extra">Your comments/suggestions are appreciated.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Alassane</div></div><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail-HOEnZb"><div class="gmail-h5"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail-m_742077932927931828m_-5297777126651022750HOEnZb"><div class="gmail-m_742077932927931828m_-5297777126651022750h5"><div class="gmail_extra"><div class="gmail_quote"><span>On Fri, Sep 30, 2016 at 12:04 AM, Vaclav Petras <span dir="ltr"><<a href="mailto:wenzeslaus@gmail.com" target="_blank">wenzeslaus@gmail.com</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><div dir="ltr"><span></span><div class="gmail_extra"><br>sudo apt-get install grass-dev</div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br></div><div class="gmail_extra">That's want installing a development package on Ubuntu means (you can also use Synaptic or maybe even the Software Center instead of apt-get).<br></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>