Make a Python virtual environment and install the dependencies
python -m pip install --upgrade pip setuptools wheel
python -m pip install scipy~=1.7.1 snakeviz~=2.1.0- First run the example to generate the
cProfileprofile file
python example.py- Then run
snakevizover the profile file to interact with the profile information
snakeviz example.prof