I am using Orfeo Toolbox for orthorectification inside python Anaconda Environment in Windows.
I have set all the Environment Variable for Windows, created Virtual Environment for Python 3.5.4
otbApplication is getting imported without any problem.
Now, in the Anaconda Virtual Env, I also have gdal installed. The issue is that these two packages can’t be imported together. They cause the following error:
ImportError: DLL load failed: The specified procedure could not be found.
If I try to import gdal first followed by otbApplication then the above error is caused by otbApplication
If I import otbApplication First and then gdal then gdal causes the same above stated error.
Is there a way around it.
import otbApplication as otb
from osgeo import gdal