Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 704 Bytes

README.md

File metadata and controls

38 lines (26 loc) · 704 Bytes

traffic-flow

Traffic flow analysis based on a gravity model

Setting up the environment

Clone the repository:

git clone https://github.com/codepictor/traffic-flow.git
cd traffic-flow/

Create a new virtual environment:

# on Linux:
python -m venv venv
# on Windows:
python -m venv venv

Activate the environment:

# on Linux:
source venv/bin/activate
# on Windows:
call venv\Scripts\activate.bat

Install required dependencies:

# on Linux:
pip install -r requirements.txt
# on Windows:
python -m pip install -r requirements.txt

Finally, run src/main.py:

# on Linux:
python src/main.py
# on Windows:
python src\main.py