This has been asked a few times but those things have not helped so posting it separately.
Setup
Anaconda 4.3.0, Python 2.7.13 64-bit
IBM_DB_HOME = C:\Program Files (x86)\IBM\SQLLIB
PATH includes %IBM_DB_HOME%\bin
LIB includes %IBM_DB_HOME%
Followed the README.
python setup.py build
python setup.py install
It creates the ibm_db_2.0.7-py2.7-egg\ folder under the Anaconda Lib\site-packages folder
However when i start python and do import ibm_db, I get "ImportError: DLL load failed: The specified module could not be found". The stack trace is:
File "<stdin>", line 1, in <module>
File "ibm_db.py", line 7, in <module>
__bootstrap__()
File "ibm_db.py", line 6, in __bootstrap__
imp.load_dynamic(__name__, __file__)
ImportError: DLL load failed: The specified module could not be found.
Q: Is this not finding the ibm_db DLL or some Windows DLL? As per the system image of the laptop, I have
- Microsoft Visual C++ 2013 Redistributable installed
- Microsoft .NET Framework 4.6.1
Q: the LIB should point to %IBM_DB_HOME% or %IBM_DB_HOME%\lib?
Stuck at this point. Any help will be gladly appreciated!