This error can be fixed by updating the setuptools. This update fixes the problem with packages containing use_2to3: they’re not compatible with the unified codebase. If you’re using an older version of Setuptools, pin them to an older version until they’re updated.
However, this fix is not as simple as it seems. The GDAL library is a C++ library with Python bindings, so the package needs to be built in a certain way. However, the good news is that the GDAL project is open source, so you can find an alternate solution. This is useful for those who don’t have time to spend time or resources on building a python-specific distribution.