How to Install `unified_planning.io` in Python?

Install the package with pip:

`pip install unified-planning`

If you use a virtual environment, activate it first:

`python -m venv .venv`

`source .venv/bin/activate` on macOS/Linux

`.venvScriptsactivate` on Windows

Verify the installation:

`python -c “import unified_planning.io; print(‘ok’)”`

If you need an upgrade:

`pip install –upgrade unified-planning`

If pip is outdated, upgrade pip first:

`python -m pip install –upgrade pip`

Suggested for You

Trending Today