I have two conda environments: One based on python 2.7 and the other based on python 3.5. I want to create a codebase (frequently used functions) that works with both Python versions. There is one module that gives me problems and that is GDAL. GDAL is somewhat more complex because it has a dependency on a C library and is not pure pythonic.
apt-get install python-gdal -y apt-get install python3-gdal -y
I tried many ways to install GDAL for python and the command line tools and I was wondering which channel is preferred: Conda-forge or the default conda channel? Where to find more information about this and how to make this decision? Mixing channels is not a good idea as far as I understand since GDAL uses a C library.
In addition to the conda install statements I have also seen:
apt-get install python-gdal -y apt-get install python3-gdal -y apt-get install gdal-bin
Why are these required?