Install pyenv (Docs)
curl -fsSL https://pyenv.run | bash
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(pyenv init - bash)"' >> ~/.bashrcInstall pyenv-virtualenv (Docs)
git clone https://github.com/pyenv/pyenv-virtualenv.git $(pyenv root)/plugins/pyenv-virtualenv
echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.bashrcReload your shell
exec $SHELLInstall Python 3.12.8
pyenv install 3.12.8Create a virtual environment
cd covas-next-aiserver # if you're not already in this directory
pyenv virtualenv 3.12.8 covas-next-aiserver
pyenv local covas-next-aiserverInstall dependencies
pip install -r requirements.txtRun the server
python src/AIServer.py