[IBM][CLI Driver] SQL10013N The specified library "GSKit Error: 207" could not be loaded. SQLSTATE=42724 SQLCODE=-10013

Viewed 2659

I am trying to connect to IBM DB2 on Jupyter notebook, as in the attached images. But I'm facing an error:

[IBM][CLI Driver] SQL10013N The specified library "GSKit Error: 207" could not be loaded. SQLSTATE=42724 SQLCODE=-10013

I already installed ibm-db with pip and imported it. More information about my device:

  • macOS Big Sur 11.2.3
  • jupyter 1.0.0
  • jupyter-client 6.1.12
  • jupyter-console 6.4.0
  • jupyter-core 4.7.1
  • jupyter-packaging 0.7.12
  • jupyter-server 1.4.1
  • jupyterlab 3.0.14
  • ibm-cloud-sdk-core 3.10.1
  • ibm-db 3.0.4
  • Python 3.8.10

Please help me. Thank you a lot.

Pic 1: Import ibm_db and add params

Pic 2: Connect to db2 by ibm_db

1 Answers

Reinstalling the ibm_db and ibm_db_sa packages may help:

!pip install --force-reinstall ibm_db ibm_db_sa
Related