I have installed cx_Oracle package in my mac,
When i run the script through terminal, module gets imported without any error, But when i build it through sublime it throws me an error.
Error message:
Traceback (most recent call last):
- File “/Users/knanjund/python_workshop/final_files/dbload_qa_auto.py”, line 2, in *
- import cx_Oracle*
- File “build/bdist.macosx-10.10-intel/egg/cx_Oracle.py”, line 7, in *
- File “build/bdist.macosx-10.10-intel/egg/cx_Oracle.py”, line 6, in bootstrap*
ImportError: dlopen(/Users/knanjund/.python-eggs/cx_Oracle-5.1.2-py2.7-macosx-10.10-intel.egg-tmp/cx_Oracle.so, 2): Symbol not found: _OCIAttrGet - Referenced from: /Users/knanjund/.python-eggs/cx_Oracle-5.1.2-py2.7-macosx-10.10-intel.egg-tmp/cx_Oracle.so*
- Expected in: flat namespace*
- in /Users/knanjund/.python-eggs/cx_Oracle-5.1.2-py2.7-macosx-10.10-intel.egg-tmp/cx_Oracle.so*
[Finished in 0.3s with exit code 1]
Any possible solutions please.