It doesn't prompt an error when using 1.1.x code version, the module is successfully enabled at the very first go.
I am able to see permission page successfully - admin/people/permissions#module-oembed_providers
git clone --branch 1.1.x https://git.drupalcode.org/project/oembed_providers.git
drush pm-enable oembed_providers
PHP version - 7.3
MySQL version - 5.7
Please confirm and review.