Installation and setup
Sciagraph is designed for profiling in production on Linux; it runs on Python 3.7 or later.
As a result, to try out the profiling you will need to be running on Linux with Python 3.7 or later installed. If you’re using Windows, WSL might work. Or, on both macOS or Windows you can use Docker to start a Linux-based shell prompt:
docker run -it -v python:3.9 bash
Installing the package
In order to try Sciagraph out, you can install it in a virtualenv.
Make sure to upgrade
pip before installing Sciagraph, or you might have issues installing it.
Here are the commands to do so; substitute your version of Python if needed, e.g.
$ python3.9 -m venv ./test-venv $ . ./test-venv/bin/activate (test-venv) $ pip install --upgrade pip (test-venv) $ pip install sciagraph
See the documentation on setting up Sciagraph in production for detail on configuration for real-world usage.