# source ~/.bashrc
pyenv install 3.12
pyenv local 3.12
pyenv version
pyenv which python
# need to have poetry installed
poetry init --python "^3.12" -q # skip this if poetry.lock already exists
poetry env use $(pyenv which python)
which python
poetry run which pythonAdd poetry dependencies
poetry add "mesa[all]"
poetry add "wandb[media,sweeps]"
poetry add --group dev pytest ruffIf import issue occurs
poetry run pip uninstall sbi pymc pytensor numpy -y
poetry updateInstall dependencies (if the project already exists)
poetry config virtualenvs.in-project true # <- install venvirtural environment to .venv folder
poetry install
source .venv/bin/activateRun Jupyter Lab
poetry run jupyter lab