TransWikia.com

ImportError: No module named osgeo

Geographic Information Systems Asked by gpatkinson on November 3, 2020

I’m running a .bat script (included) in the cmd prompt. I get the error "ImportError: No module named osgeo" when it tries to call the gdal_merge.py command.

I think this has something to do with the way my paths are set up. I’ve tried to play around with making sure the .py scripts are in the correct folders. I’ve read through other similar problems/solutions but mine seems to be slightly different.

The gdal_merge.py script exists within the ‘path’ directory, however I’m not sure what the connection is between the ‘osgeo’ module it can’t import. Where should the module exist so that it can be imported correctly?

enter image description here

enter image description here

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP