Verifying the Python driver, SQLAlchemy adapter, and Django adapter installation
When the installation of the Python driver and optional adapters are complete, it is a good practice to test the new Python environment to verify that installation is working.
Before you begin
You
must have the following software installed on your system:
- Python 3.0 or later. For Linux® operating systems, you also require the python2.5-dev package.
- If your Python application connects to a remote IBM® database, the computer that runs your Python
application requires one of the following products:
- IBM Data Server Client
- IBM Data Server Runtime Client
- IBM Data Server Driver Package
- IBM Data Server Driver for ODBC and CLI
- If your Python application connects to local IBM database, no additional IBM Data Server products are required.
- The Python environment must be configured for the listed driver
and adapters:
- ibm_db Python driver
- ibm_db_sa SQLAlchemy adapter
- ibm_db_django Django adapter
Procedure
To verify that your Python installation is successful: