Error when installing OpenGapps

You could try configuring Open GApps via an offline package downloaded from opengapps.org instead of relying on the configurator. You want the x86_64 - 9.0 - Pico variant.