mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
| .. | ||
| tests | ||
| __init__.py | ||
| app.py | ||
| config.py | ||
| downloader.py | ||
| Property.py | ||
| README.md | ||
| requirements.txt | ||
| temp_inputs.py | ||
Environment setup
We're using conda to manage environments to circumvent the issues with Mac M1. This documentation will also cover Pycharm setup.
We're working in python 3.10 so
conda create -n hestia-data python=3.10
Then activate the environment
conda activate hestia-data
To set up with Pycharm, run
which python
and grab the path to the python executable. Then in Pycharm, go to Settings > Project > Python Interpreter and click the gear icon to add a new interpreter. Select Conda and either paste the path to the python executable and click OK, or select the conda environment from the dropdown.
You may need to restart Pycharm for the new interpreter to be recognised.
To install project dependencies navigate to /epc_data and run
pip install -r requirements.txt