Home:ALL Converter>Installing GDAL on Ubuntu

Installing GDAL on Ubuntu

Ask Time:2017-03-03T14:18:21         Author:user308827

Json Formatter

I am not able to install gdal on Ubuntu using latest anaconda for python 3.6 How do I fix it? I get foll. error:

UnsatisfiableError: The following specifications were found to be in conflict:
  - gdal -> numpy 1.8* -> python 2.6* -> openssl 1.0.1*
  - python 3.6*
Use "conda info <package>" to see the dependencies for each package.

Author:user308827,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/42571957/installing-gdal-on-ubuntu
Johan :

It seems that you try to install gdal with python 2.6 while your anaconda is python 3.6. \n\nTo install gdal (or any package) with a specific python version, create a conda environment:\n\n$ conda create -n <myenvname> python=<version>\n\n\nthen activate the environment:\n\n$ source activate <myenvname>\n\n\nand then, install gdal:\n\n$ conda install gdal\n",
2017-03-03T07:48:31
yy