Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 1.08 KB

PYTHON_SETUP.md

File metadata and controls

25 lines (13 loc) · 1.08 KB

Python Setup

Note: python2 is end-of-life. The provided code scripts have successfully worked in python2. There are no plans to develop for it or run extensive tests.

  • Using the python scripts requires ibm_db python package to be installed. Like so (if you face issues follow suggestions below and retry):

pip install ibm_db

  • If there is no existing DB2 Driver detected then pip install ibm_db will attempt a minimal DB2 driver install.

  • There are other DB2 drivers that can be installed ahead of the python ibm_db package in case the driver that is installed by it is not desirable or having issues.

  • Make sure you are using the latest pip version - upgrade if needed like so:

python3 -m pip install --upgrade pip

  • Install python development package if you get compile errors and python.h is not found - like so:

yum install python3-dev

or

yum install python3-devel