I have ArcGIS Pro (2.3.x) installed on my PC. I have python scripts which call ArcGIS toolbox models and runs them. Everything works fine.
Today I installed GDAL and Python bindings for GDAL. I also followed installation instructions and created a new system variables for GDAL_DATA (C:\Program Files (x86)\GDAL\gdal-data) and GDAL_DRIVER_PATH (C:\Program Files (x86)\GDAL\gdalplugins). I also edited the PATH variable and added 'C:\Program Files (x86)\GDAL' as an environment variable. Gdal runs fine on cmd prompt.
However, when I went back to run my arcpy scripts, I had a load of errors like 'can't load requested DLL GDAL C:\Program Files (x86)\GDAL\gdalplugins\xxxx.dll is not a valid win32 application'. It seems like installing a separate GDAL install has pointed ArcGIS in the wrong direction for any GDAL related queries? I didn't even know ArcGIS used GDAL...
When I then uninstall GDAL, the ArcGIS scripts work fine.
Any advice to what has gone wrong here and what I should do to install an independent GDAL on my ArcGIS machine?