Thalixte / Google-Earth-Decoder-Optimization-Tools

Python blender scripts designed to be used with Google Earth Decoder Tool sceneries
34 stars 4 forks source link

Temp\GDAL-3.4.3-cp310-cp310-win_amd64.whl is invalid. #9

Open fjrule opened 4 weeks ago

fjrule commented 4 weeks ago

Got the same issue as heAlexPa:

I'm trying to optimize a project but keep getting the same error as this person:heAlexPa: currently on blender 3.5.1 as you suggested

2024-08-14 22_03_53-Blender

got an feeling that hes trying to install GDAL form this website http://www.xavierdupre.fr/enseignement/setup/ but the site is down ?

fjrule commented 4 weeks ago

I encountered this issue with version 2.0.6. Everything works well with version 1.1.3, except when optimizing a project—the tiles get scattered all over the place. However, this was fixed in version 2.0.6, but i can't use this because of the error GDAL-3.4.3-cp310-cp310-win_amd64.whl is invalid.

Thalixte commented 3 weeks ago

H‌ello,

Yes, you have found the reason of this error. Try to find out another source to download the wheel file, then change the uri in your your addon settings.

Best regards,

De : "fjrule" A : "Thalixte/Google-Earth-Decoder-Optimization-Tools" ,"Subscribed" Envoyé: mercredi 14 Août 2024 22:12 Objet : [Thalixte/Google-Earth-Decoder-Optimization-Tools] Temp\GDAL-3.4.3-cp310-cp310-win_amd64.whl is invalid. (Issue #9)  

 

Got the same issue as heAlexPa:

I'm trying to optimize a project but keep getting the same error as this person:heAlexPa: currently on blender 3.5.1 as you suggested 2024-08-14.22_03_53-Blender.png (view on web)

got an feeling that hes trying to install GDAL form this website http://www.xavierdupre.fr/enseignement/setup/ but the site is down ?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

fjrule commented 3 weeks ago

Hello Thalixte,

thanks for the reply. I think I found a website I could use and tried this link https://wheelhouse.openquake.org/v3/windows/py310/ but I’m still encountering the same error. Do you have any suggestions?

afbeelding

fjrule commented 3 weeks ago

any suggestions Thalixte?

HexHyte commented 3 weeks ago

Same error here, even when trying @fjrule alternative link:

- Numpy lib installation                    OK
[■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■] 100.0%: DONE                                   ent/setup/GDAL-3.4.3-cp310-cp310-win_amd64.whl

Processing c:\users\hexhyte\appdata\local\temp\gdal-3.4.3-cp310-cp310-win_amd64.whl
ERROR: Wheel 'gdal' located at C:\Users\HexHyte\AppData\Local\Temp\GDAL-3.4.3-cp310-cp310-win_amd64.whl is invalid.
- Gdal lib installation                     KO

Configuration error found ! Gdal python lib is not correctly installed. Please check what can prevent this library to be installed correctly

 Script aborted
HexHyte commented 3 weeks ago

I managed to work around this issue by manually editing the following line in the constant.py file: from

ALTERNATE_PYTHON_LIB_REPO = "http://www.xavierdupre.fr/enseignement/setup/"

to

ALTERNATE_PYTHON_LIB_REPO = "https://wheelhouse.openquake.org/v3/windows/py310/"

I realized that the addon was ignoring the custom link we tried to set.

fjrule commented 2 weeks ago

Thanks for the reply HexHyte I managed to install it manually in the meantime by installing Python and installing the GDAL and Fiona libraries in Blender Im not good at Python, but ChatGPT for the win! path-to-blender-python /python.exe -m pip install .whl