petrol-price-predictor / jurassic-juice-juggler

predicting petrol prices based on german petrol station live data
MIT License
2 stars 0 forks source link

Environment

Since we are running python version 3.10.10 we need to install that

pyenv install -v 3.10.10

We have to install hdf5:

 brew install hdf5
 brew install graphviz

With the system setup like that, we can go and create our environment

There is a MAKE file available

make
source .venv/bin/activate

alternatively:

pyenv local 3.10.10
python -m venv .venv
source .venv/bin/activate
pip install -U pip
pip install --no-binary=h5py h5py
pip install -r requirements.txt

If you already have hdf5

export HDF5_DIR=/opt/homebrew/Cellar/hdf5/1.12.2

otherwise, if you have just installed hdf5 with brew, then

export HDF5_DIR=/opt/homebrew/Cellar/hdf5/1.12.2_2