Open julian-belina opened 7 months ago
GDAL 3.4.3 is ancient, is that version a requirement for your needs?
I suspect that that the Visual Studio might be a problem. This problem occurs on a Windows 10 machine with the Microsoft Visual C++ 2015-2019 Redistributable (x64) -14.28.29914.0
On a windows 11 machine with Microsoft Visual C++ 2015-2022 Redistributable (x64) -14.36.32532 The same packages are installed and no error occurs
chine with Microsoft Vi
Unfortunately yes. A lot of software at my institute is bound to it.
@akrherz Updating the Microsoft Visual C++ 2015-2019 Redistributable from 14.28.29914 to 14.34.33130 resolved the problem. Is it possible to update the meta data to respect this constraint?
I am also running into the same problem. I have Microsoft Visual C++ 2012 11.0.61030.0, Redistributable, Microsoft Visual C++ 2015-2019 Redistributable, Microsoft Visual C++ 2015-2022 Redistributable. I am have gdal 0.3.0. This is the one I need to run code. Any ideas
@DOptimusPrime Is it possible that you mean a diffrent gdal version than 0.3.0? This version would be very old and is not on conda-forge. At least gdal 3.4.x versions depend on the Microsoft Visual C++ 2015-2022 redistributable. An update of the redistributable could resolve the error.
A possible cause for the error is that the binaries provided by conda-forge have been created with a newer version of Visual C++. The newer versions of the redistributable are backwards compatible as you can read here
Solution to issue cannot be found in the documentation.
Issue
When install gdal 3.4.3 in a new environment i get the following traceback when i try to load gdal:
C:\Users\PAVAN_F>conda activate test_gdal_env
(test_gdal_env) C:\Users\PAVAN_F>python Python 3.10.13 | packaged by conda-forge | (main, Dec 23 2023, 15:27:34) [MSC v.1937 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.
Installed packages
Environment info