Closed shaneholloman closed 4 months ago
Looks like you're getting an old version of Elia - it requires Python 3.11+
Hopefully this thread helps: https://github.com/darrenburns/elia/issues/53#issuecomment-2131954056
solved. here's a none venv/conda method for Ubuntu 22.04 users this won't break your base system install.
Install Python 3.11 on Ubuntu 22.04 (if not already installed):
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.11
Install pipx using Python 3.11:
python3.11 -m pip install --user pipx
python3.11 -m pipx ensurepath
That will install pipx using Python 3.11 and add the necessary directory to your PATH.
Install the 'elia' app using pipx with Python 3.11:
python3.11 -m pipx install elia-chat
dont forget to add the api keys to you bash or zsh runtime command file.
nano .bashrc
add some keys to bottom of your rc file:
...
## LLM vendor api keys
export OPENAI_API_KEY=sk-****************************
export ANTHROPIC_API_KEY=sk-*************************
export GEMINI_API_KEY=AI*****************************
...
elia
I have set var in .bashrc