My Oracle Support Banner

MySQL Connector/Python 8.0.19 Importing the mysqlx Module Fails: "ImportError: No module named dns.resolver" (Doc ID 2627797.1)

Last updated on JANUARY 13, 2020

Applies to:

MySQL Connectors - Version 8.0 and later
Information in this document applies to any platform.

Symptoms

When trying to import the mysqlx module using MySQL Connector/Python 8.0.19 or later, the following ImportError exception is raised:

 

Changes

MySQL Connector/Python has been upgraded to 8.0.19 or later.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.