If you are working on ubuntu, you can use this command.
conda create --name pygdal
conda activate pygdal
conda install -c conda-forge gdal
If installation completes import it from:
from osgeo import gdal
Le ven. 7 oct. 2022 à 12:01, "Jorge Conrado Conforte" <
jorge.conforte@inpe.br> a écrit :
Hi,
I installed GDAL using the pip command and conda. But, I did:
import gdal and I had:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'gdal'
I need gdal to remap some data.
Please, help me
Conrado
--
https://mail.python.org/mailman/listinfo/python-list
--
Bien à vous,
--------------------- ------------------ ----------------- -------------------- -----------------
Dioumacor FAYE doctorant au LPAOSF/ESP/UCAD/BP 5085 Dakar-Fann, Sénégal.
Tel labo: (00221) 33 825 93 64
Email:
d.faye20171634@zig.univ.sn <
d.fayye20171634@univ.zig.sn> Tel: +221773475098 +221783484308
Physicien en herbe
Pseudo Skype: dioumacorfaye
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)