29 views
Skip to first unread message

elham soleimanian

unread,
Feb 15, 2021, 2:34:30 AM2/15/21
to cw...@googlegroups.com

Hi all
I installed gdal library with .whl. Unfortunately, when I run cwatm on cmd it says undefined gdal library while when I check it in cmd it shows" requirements already satisfied" can anyone help me?
--
yours sincerely

B.SC Water and Wastewater Engineering , SBU
M.SC  Water Resources Management,IUST

Mobile: (+98) 9377580623

Email: e_soleimanian@civileng.iust.ac.ir




Luca Guillaumot

unread,
Feb 17, 2021, 3:46:19 AM2/17/21
to CWatM
Hi Elham,
you probably already saw this point:
Troublemaker GDAL
Installing GDAL via pip causes sometimes problems. We recommend downloading the library from
as GDAL-3.0.4-cp37-cp37m-win_amd64.whl (or a later version depending on your Python version) and installing them as:
pip install C:/Users/XXXXX/Downloads/GDAL-3.0.4-cp37-cp37m-win_amd64.whl
Sometimes problems occure if you have installed GDAL separately (or a software did, like QGIS)

If not, sometimes it comes from the fact there are several Python versions installed on the computer or if GDAL is already installed by another software. You can also try to go inside your Python folder (the one you are using to run CWATM ) and from this folder, try to call you gdal library (or try to run CWatM). To check, if your GDAL library is well linked to your Python version.

In cmd: "python -V" will give you the Python version. "pip list" will give you all the installed libraries for this Python version (type "pip -V" to check that pip is linked to right Python version)

Hope it will help,
Luca
Reply all
Reply to author
Forward
0 new messages