I am trying to run a 3.6.1 Python script and one of the libs I need to import is the osgeo. I've already downloaded the GDAL library because I use QGIS. I also have ArcGIS installed on this machine which has Python 2.7.1 installed with it.
When I try to run the script, I get the following error:
Traceback (most recent call last):
File "C:\Users\username\Desktop\PostgreAccess.py", line 3, in <module>
from osgeo import ogr
ModuleNotFoundError: No module named 'osgeo'
I don't understand why I'm getting this error. I've already tried adding a new environment variable, restarting my machine, re-downloading the GDAL for Windows. Any suggestions for troubleshooting?
I'm on Windows 10.