-1

I am trying to install/upgrade GDAL 2.2.4. But every time i try to install or upgrade to version GDAL 2.2.4 i get an error message. I have completely uninstalled and reinstalled anaconda (64bit) (with python 2.7). Using the conda command to install in command line (i.e. conda install gdal) works fine. However, it only installs to GDAL 2.2.2. I need the newest version for its capacity to handle BigTIFF formats. When I use pip to install (i.e. pip install gdal) I get this massive error [i took a screen shot because i dont know how to copy from cmd]:

How do I overcome this error and install GDAL 2.2.4 ?

J.A.Cado
  • 715
  • 5
  • 13
  • 24

1 Answers1

1

Gdal 2.2.4 is available through anaconda with conda-forge.

Try the following

conda install -c conda-forge gdal
the_cheff
  • 4,690
  • 3
  • 15
  • 23
  • thanks! This worked. Although I am still confused about the error message...nice work around though. – J.A.Cado Apr 16 '18 at 03:36
  • btw...what is conda-forge? – J.A.Cado May 09 '18 at 05:37
  • 1
    I think [this answer](https://stackoverflow.com/questions/39857289/should-conda-or-conda-forge-be-used-for-python-environments) explains it quite well. In general it is just another channel, meaning that the packages on the default channels and conda-forge are not build by the same persons/processes. In my personal experience, conda-forge is often more up to date, and at least for me the binaries works way more often. – the_cheff May 09 '18 at 07:55