Install phidata

We recommend installing phidata using pip in a python virtual environment


Create a virtual environment

Open the Terminal and create a python virtual environment.

python3 -m venv ~/.venvs/aienv
source ~/.venvs/aienv/bin/activate

Install phidata

Install the latest version of phidata

pip install -U phidata

If you encounter errors, try updating pip using python -m pip install --upgrade pip

Upgrade phidata

To upgrade phidata, run this inside your virtual environment

pip install -U phidata --no-cache-dir