HI ,
I setup an OL 7.7 with Oracle RDBMS 18c.
DB is up and running.
I install python 3.6.8 and then Instantclient 18.5 base per yum.
Okay that works fine
python --version
Python 3.6.8
Now I would like to install the cx_Oracle Packages from the Docusite
https://yum.oracle.com/oracle-linux-python.html#InstantClientEnv
I try all possibilties:
yum -y install python-cx_Oracle
not possible
yum -y install rh-python36-python-cx_Oracle
not possible
python -m pip install cx_Oracle
python -m pip install cx_Oracle
Traceback (most recent call last):
File "/usr/lib64/python3.6/runpy.py", line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/usr/lib64/python3.6/runpy.py", line 142, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/usr/lib64/python3.6/runpy.py", line 109, in _get_module_details
__import__(pkg_name)
File "/root/py36env/lib64/python3.6/site-packages/pip/__init__.py", line 42, in <module>
from pip.utils import get_installed_distributions, get_prog
File "/root/py36env/lib64/python3.6/site-packages/pip/utils/__init__.py", line 27, in <module>
from pip._vendor import pkg_resources
File "/root/py36env/lib64/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 35, in <module>
import plistlib
File "/usr/lib64/python3.6/plistlib.py", line 65, in <module>
from xml.parsers.expat import ParserCreate
File "/usr/lib64/python3.6/xml/parsers/expat.py", line 4, in <module>
from pyexpat import *
ImportError: /usr/lib64/python3.6/lib-dynload/pyexpat.cpython-36m-x86_64-linux-gnu.so: undefined symbol: XML_SetHashSalt
So I am at the end.
Who can help how to go on??
What the correct installation and Setup?
regards