Install phidata

We highly recommend:

  • Installing phidata using pip in a python virtual environment.
  • Creating an ai directory for your ai workspaces
1

Create a virtual environment

Open the Terminal and create an ai directory with a python virtual environment.

2

Install phidata

Install phidata using pip

3

Install docker

Install docker desktop to run apps locally


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


Upgrade phidata

To upgrade phidata, run this in your virtual environment

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

Setup workspace

If you have an existing phidata workspace, set it up using

phi ws setup

Reset phidata

To reset the phidata config, run

phi init -r

This does not delete any physical data