-
Notifications
You must be signed in to change notification settings - Fork 364
Closed
Labels
Description
- What versions are you using?
Python 3.8.4
cx-Oracle==8.0.0
platform.platform: Linux-4.12.14-95.51-default-x86_64-with-glibc2.17
sys.maxsize > 2**32: True
platform.python_version: 3.8.4
dies when I try to import cx_Oracle:
>>> import cx_Oracle
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: dynamic module does not define module export function (PyInit_cx_Oracle)
- Describe the problem
Compiled Python 3.8 on several very similar servers. Only having this problem on one of them.
Able to pip install cx_Oracle 8.0.0 with no problem, but then importing it throws this error:
ImportError: dynamic module does not define module export function (PyInit_cx_Oracle)
I am not sure what's causing this or even where to start looking. I've used cx_Oracle a bunch on lots of different machines and have never run into this problem.
(venv) user@hostname:~/test> python
Python 3.8.4 (default, Jul 14 2020, 16:05:46)
[GCC 4.8.5] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cx_Oracle
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: dynamic module does not define module export function (PyInit_cx_Oracle)
>>>
- Include a runnable Python script that shows the problem.
import cx_Oracle