Error installing requirement (GDAL)

Guys im trying to deploy a multipage app , the code works fine in my local server (my laptop) but when im trying to deploy it , i have a problem with importing GDAL library to my environement , here is the message error i have :
ERROR: GDAL-3.4.3-cp39-cp39-win_amd64.whl is not a supported wheel on this platform.
``

WARNING: You are using pip version 22.0.3; however, version 23.3.1 is available.
You should consider upgrading via the '/home/adminuser/venv/bin/python -m pip install --upgrade pip' command.

There seems to be something wrong in your requirements file.

1 Like

Thank u for the answer .
maybe you’re right , because in my laptop i had installed GDAL seperately not by pip install GDAL , but i just downloaded the Gdal_file online and piped installed it . shall i do the same in my repository , do i have to upload this file and in my requirement.txt give reference to it for GDL installation ?

That wheel is for windows, you can’t use it in streamlit cloud.

1 Like
1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.