Install & Setup

Install kern SDK

We highly recommend:

  • Installing kern using pip in a python virtual environment.

Create a virtual environment

1python3 -m venv ~/.venvs/kern
2source ~/.venvs/kern/bin/activate
1python3 -m venv agnoenv
2agnoenv/scripts/activate

Install kern

Install kern using pip

1pip install -U kern-ai

Note

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


Upgrade kern

To upgrade kern, run this in your virtual environment

1pip install -U kern-ai --no-cache-dir