I was trying to install Datastax Python Cassandra driver on Ubuntu 14.04.5. LTS. Installation succeeds but subsequent attempt to use it fails with the error:
Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-91-generic x86_64) ~$ python3 --version Python 3.5.2 ~$ python3 -c 'import cassandra; print(cassandra.__version__)' 3.7.0 ~$ python3 cassandra_loader.py Traceback (most recent call last): File "cassandra_loader.py", line 7, in from cassandra_tools import transform_record, QueryManager File "../lib/cassandra_tools.py", line 6, in from cassandra.cluster import Cluster ImportError: /usr/local/lib/python3.5/site-packages/cassandra/cluster.cpython-35m-x86_64-linux-gnu.so: undefined symbol: PyException_Check
same installation process and same code works well on RedHat. Google search for error code returns nothing. Anybody has an idea of what could be the issue?