Mar-27-2017, 11:09 AM
Hi,
I've installed ibm_db to project interpreter but when I run my script I get the following error:
I've installed ibm_db to project interpreter but when I run my script I get the following error:
Error:/Library/Frameworks/Python.framework/Versions/3.4/bin/python3.4 /Users/paulcarron/Downloads/Python/billing_extraction/Main.py 2010-01-01 2020-01-01 Carron
Traceback (most recent call last):
File "/Users/paulcarron/Downloads/Python/billing_extraction/Main.py", line 5, in <module>
import ibm_db
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/ibm_db.so, 2): Library not loaded: libdb2.dylib
Referenced from: /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/ibm_db.so
Reason: image not found
Process finished with exit code 1
Can anybody advise on the issue and ho to resolve it?