18.2 Installation and Setup
Setup assumes the Python environment is already installed and available.
Installation
- Prepare the environment:
The steps below are provided for a standard venv of Python. If you are using other tools (for example, Conda) that might need additional third party software, refer to their instructions on how to prepare the environment.
For Linux and Mac based systems:
cd <your work directory> python3 -m venv '.venv' source '.venv/bin/activate'
For Windows based systems:
cd <your work directory> python3 -m venv 'venv' .\venv\bin\activate or activate.bat (based on your python3 installation)
- Installation is done using the pip3 command as
below:
pip3 install oracle-data-studio
Update PYTHONPATH
environment variable
Once the package installation is complete, update
PYTHONPATH
with the site-packages location.
For Linux and Mac based systems:
export
PYTHONPATH=./.venv/lib/python<your-py-version>/site-packages/datatransforms:$PYTHONPATH
For Windows based systems:
export
PYTHONPATH=.\venv\lib\python<your-py-version>\site-packages\datatransforms;%PYTHONPATH%
Parent topic: Python API for Oracle Data Transforms