[GRASS-user] [Ubuntu] python-grass code not working on ubuntu

alassane toure atourej at gmail.com
Tue Oct 11 20:59:50 PDT 2016


Group,
I am running a python code (worked well on earlier gdal version but not on
 2.1) calling gdal with the following errors.
[image: Inline image 1]
The code start as follows....

#!/usr/bin/env python
import os
import sys
import subprocess
import shutil
import binascii
import tempfile

import gdal
from   gdalconst import *
from   datetime import datetime
...
...

Your comments/suggestions are appreciated.

Alassane


>>
>>
>> On Fri, Sep 30, 2016 at 12:04 AM, Vaclav Petras <wenzeslaus at gmail.com>
>>> wrote:
>>>
>>>>
>>>>
>>>> sudo apt-get install grass-dev
>>>>
>>>
>>>
>>
>> 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).
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20161011/4e1b2fa9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 89350 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20161011/4e1b2fa9/attachment-0001.png>


More information about the grass-user mailing list