On Fri, 28 May 2021 at 17:22, Clifford Snow <clifford@snowandsnow.us> wrote:
Thanks everyone for their suggestions. I believe my problem is that I've installed postgis from the postgresql PGDG repository and it's conflicting with the Fedora python gdal files. Not sure If I need to just use Fedora's postgresql version or if there is another workaround.

You should report the problem to PGDG.   You may need to use python environments or even
a separate Python install (Anaconda?) if fedora's gdal configuration doesn't work for your use case.  
In my field there is a "mission critical" application that hasn't moved past Python 3.6 (due to testing
resource constraints, only 3.6 has been properly tested and is available to the developers when
they need to duplicate a problem) so it is routine to have a Python 3.6 install just for that application.

Anaconda has activate/deactivate scripts, but you can also use environment-modules or Lmod to
"enable" a specific python version.

environment-modules.x86_64 : Provides dynamic modification of a user's environment
Lmod.x86_64 : Environmental Modules System in Lua

--
George N. White III