To run this tutorial we use pyenv and virtualenv to create a virtual environment. All dependencies will be installed in the virtual environment.
- Install Python 3.9 (if not already present) via pyenv
pyenv install
- Install virtualenv
pip install virtualenv
- Create virtual environment
virtualenv .venv
- Activate virtual environment
source .venv/bin/activate
- Install dependencies
pip install -r requirements.txt
Currently, there is a bug in the python ecosystem to run with the latest MacOS version. Therefore, you have to run the following command in your shell before installing dependencies:
export SYSTEM_VERSION_COMPAT=1
cd boston-house-prcing
python app.py