Skip to content

vagechirkov/Spatial-MAB-ABM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

154 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation instructions

# 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 python

Add poetry dependencies

poetry add "mesa[all]"
poetry add "wandb[media,sweeps]"
poetry add --group dev pytest ruff

If import issue occurs

poetry run pip uninstall sbi pymc pytensor numpy -y
poetry update

Install dependencies (if the project already exists)

poetry config virtualenvs.in-project true  # <- install venvirtural environment to .venv folder
poetry install
source .venv/bin/activate

Run Jupyter Lab

poetry run jupyter lab

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors