Before setting up the environment, ensure you have the following installed on your system:
- Python 3.11.11 (recommended for Airbyte development to avoid conflicts and version issues)
- Virtual Environment for package isolation
- Pip for package management
To create and activate a virtual environment, follow these steps:
python3.11 -m venv .venv
source .venv/bin/activate # On macOS/Linux
conda create -p venv python==3.11.11 # conda based env
.venv\Scripts\activate # On Windows
conda acticate <absolute-file-path> # conda based activation
Once the virtual environment is activated, install the required dependencies:
pip install -r requirements.txt
If you are working with the source-google-drive connector and want to use its preinstalled virtual environment:
python3.11 -m venv .venv-source-google-drive
source .venv-source-google-drive/bin/activate # On macOS/Linux
.venv-source-google-drive\Scripts\activate # On Windows
Then install the required package:
pip install --no-cache-dir airbyte-source-google-drive
Ensure that user credentials are stored in the root directory. If needed, modify the path to suit your setup.
This setup ensures a smooth Airbyte development experience with minimal conflicts and version-related issues.