My Oracle Support Banner

"AttributeError: 'NoneType' Object Has No Attribute 'connect'" While Trying To Connect To Oracle Database From A Python Program Using The Oracle JDBC Driver (Doc ID 2961120.1)

Last updated on JULY 13, 2023

Applies to:

JDBC - Version 11.1.0.7 and later
Information in this document applies to any platform.

Symptoms

While trying to use JDBC connection from a python program, the next error is reported

ERROR
-----------------------



Changes

 

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


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