- install pyenv
- install pyenv-virtualenv
- install poetry
- install python 3.10.7 via pyenv
pyenv install 3.10.7
- create virtualenv
pyenv virtualenv 3.10.7 smart_meter_3.10.7
pyenv activate smart_meter_3.10.7
- set pyenv local version in the root folder
pyenv local smart_meter_3.10.7
- install dependencies
poetry install --no-dev