1

I wanted to install latest version of GDAL (2.3) in Python 2.7.15 32 bits. I usually install the gdal core and bindings from www.gisinternals.com for my python version (msc 1500). However, for version of GDAL 2.3 there is only available for msc 1900 and 1911 which I dont know what version of Python correspond to, but not mine (maybe Python 3?). So, is there no GDAL 2.3 for version 2.7.15? Anyone knows?

closed as off-topic by user2856, Jochen Schwarze, whyzar, ThingumaBob, Evil Genius Aug 7 '18 at 14:12

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions relating to general IT or with no clear GIS component, are off-topic here but can be researched/asked at Stack Overflow (software development), Super User (computing hardware and software), Database Administrators (relational databases) and other SE sites" – user2856, Jochen Schwarze, ThingumaBob, Evil Genius
If this question can be reworded to fit the rules in the help center, please edit the question.

  • gisinternals.com/… has GDAL 2.3 in Python 2.7 32bit installer, the link is named GDAL-2.3.1.win32-py2.7.msi. – Michael Stimson Aug 5 '18 at 23:34
  • Yes, but according to the installation tutorials I have seen so far, you are supposed to install the version according to your compilation (msc): sandbox.idre.ucla.edu/sandbox/tutorials/… – Symbionte Aug 5 '18 at 23:38
  • 1
    I think you're out of luck. The MSVC 2015/17 Python 2.7 packages are probably only there as they would get built by default for each compiler version. You will probably have issues if you try to use MSVC > 2008 packages. I suggest either submitting a ticket, using miniconda/Anaconda or moving to Python 3 and accepting the fact that Python 2 is very nearly EOL and that people are going to start dropping support for it. – user2856 Aug 5 '18 at 23:51
  • 1
    Try it and see, the major and minor versions are the same so it's only a subversion different. If it doesn't work then uninstall it.. it's a lot less drastic than dumping python 2.7 which, if you have ArcGIS, you can't do. – Michael Stimson Aug 6 '18 at 0:03
  • 1
    No. It's because Python 2.7 is compiled using MSVC 2008 (1500) so any binary libs (i.e GDAL) need to be compiled with MSVC 2008. Try MSVC 2015 or 17 (1900/1911) versions if you like. It may work for you, though I can tell you from experience, it's never worked for me, causes hard crashes and segfaults. But then again it's been a few years since I've bothered to try. – user2856 Aug 6 '18 at 1:37

Browse other questions tagged or ask your own question.