malonzo47 / pynita_GUI

pynita_GUI is python GUI based implementation of Noise Insensitive Trajectory Algorithm (NITA)
4 stars 3 forks source link

gdal dll issues (is this a 32 vs. 64 bit OS issue?) #90

Closed malonzo47 closed 4 years ago

malonzo47 commented 4 years ago

This set of errors occurs when I run pynita_gui_main.py from source (windows 64): image

They do not seem to be fatal as I made it through a full workflow. It may relate to the fact that I previously had gdal installed as part of anaconda but then recently removed anaconda. Windows may still have the dll locations from the anaconda install in memory and refuse to look in the right place (even though the path variables are correct). Just my thoughts based mostly on: https://forum.step.esa.int/t/cant-load-requested-dll-file/8665

But maybe this is a 32 bit vs. 64 bit OS issue?

FreelanceDev217 commented 4 years ago

It may relate to the fact that I previously had gdal installed as part of anaconda but then recently removed anaconda. Windows may still have the dll locations from the anaconda install in memory and refuse to look in the right place

I think you are right. Please check the system environment variables and remove the irrelevant ones. One thing we realized from the previous work is that the project does not need to have gdal installed necessarily.

malonzo47 commented 4 years ago

The path variable seems to be correct but the issue noted in the link I sent seems to suggest that these old .dll paths might be stored in memory somehow? Not sure how to clear that. I suppose I could just try restarting the computer...

image