2. Installing select_ai¶
2.1. Installation requirements¶
To use select_ai you need:
Python 3.9, 3.10, 3.11, 3.12 or 3.13
python-oracledb- This package is automatically installed as a dependency requirementpandas- This package is automatically installed as a dependency requirement
2.2. select_ai installation¶
select_ai can be installed from Python’s package repository
PyPI using
pip.
Install Python 3 if it is not already available. Use any version from Python 3.9 through 3.13.
Install
select_ai:
python3 -m pip install select_ai --upgrade --user
If you are behind a proxy, use the
--proxyoption. For example:
python3 -m pip install select_ai --upgrade --user --proxy=http://proxy.example.com:80
Create a file
select_ai_connection_test.pysuch as:
import select_ai user = "<your_db_user>" password = "<your_db_password>" dsn = "<your_db_dsn>" select_ai.connect(user=user, password=password, dsn=dsn) print("Connected to the Database")
Run
select_ai_connection_test.py
python3 select_ai_connection_test.pyEnter the database password when prompted and message will be shown:
Connected to the Database