Hi all,

I want to use gdal in python3.6 with QGIS but when I `from osgeo import
gdal`, it shows:
```python
>>> from osgeo import gdal
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.6/dist-packages/osgeo/gdal.py", line 1565,
in <module>
    class DirEntry(_object):
  File "/usr/local/lib/python3.6/dist-packages/osgeo/gdal.py", line 1573,
in DirEntry
    __swig_getmethods__["name"] = _gdal.DirEntry_name_get
AttributeError: module '_gdal' has no attribute 'DirEntry_name_get'
```
I installed GDAL2.2.3 from qgis.org repo. What can I do to fix this? Thanks
a lot!

Best regards,

Han
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to