Oracledb circular import problem #154
Replies: 3 comments 15 replies
-
Do you have your own application file called oracledb.py? |
Beta Was this translation helpful? Give feedback.
-
Changes that eliminate circular imports landed in 2.3.0. |
Beta Was this translation helpful? Give feedback.
-
hey, Error Category: IMPORT_ERROR; Failed Line Number: 8; ImportError: cannot import name 'base_impl' from partially initialized module 'oracledb' (most likely due to a circular import) (/tmp/glue-job-13151463220786226397/extra-py-files/oracledb-2.5.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl/oracledb/init.py) we are trying to use the oracledb module in glue job , downloaded it's linux compatible wheel files as suggested in aws documentations as well as on internet IF you can provide or suggest any solution it would be really helpful 03/03/2023 08:36 AM 19,011 aq.py |
Beta Was this translation helpful? Give feedback.
-
I've freshly installed python-oracledb and "import oracledb" is giving me a circular import error.
oracledb_init__.py contains "from .connection import connect, Connection"
oracledb\connection.py contains "import oracledb"
Am I missing something here?
Beta Was this translation helpful? Give feedback.
All reactions