Skip to main content
BuildOfficialCertifiedReviewed Dec 4, 2026

Sionna Install

v1.0.0New

Unsigned, install at your own risk

Unverified

This skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.

Install this skill

No account required. Pick your tool, then copy.

Run in your terminal. It detects your AI tool.

npx @skills-hub-ai/cli install skills-sionna-install

What this does: Use for installing, verifying, or troubleshooting Sionna PHY, SYS, or RT. Covers PyPI and source installs, dependencies, Python environments, and CPU or CUDA setups.

Or get the file:
Browse all CLI commands →
Manual setup by platform

Claude Code

~/.claude/skills/skills-sionna-install/SKILL.md

Setup guide →
0Save

Instructions

Install Sionna

Purpose

Set up a Python environment for wireless simulation or ray tracing and verify that the requested Sionna components work on the target machine.

Inputs

Use the user's explicit choices first. Fill in unspecified values from the project manifest, lockfile, and detected environment. If the request conflicts with project constraints, surface the conflict before changing the environment. For a bare request such as “install Sionna,” ask which components the user needs and whether they need CUDA or CPU execution. Offer the full PyPI release and CPU execution as the default for a fresh setup. Bundle any remaining questions whose answers change the install.

Required inputs to resolve before selecting an install command

  • Components. Full Sionna (PHY, SYS, and RT), PHY and SYS only, or RT only?
  • Backend. CPU or NVIDIA GPU (CUDA)? For a remote host or container, check that target's hardware and runtime.

Optional inputs that override the defaults

  • Version and source. Use the current PyPI release, a pinned version for an existing project, or the source checkout? Select source when the user requests it or the project's manifest or lockfile specifies a local Sionna dependency.
  • Environment. Use the project's existing environment, a new isolated environment, or an explicitly requested interpreter?
  • Optional extras. If the user mentions building docs or running tests, include [doc] or [test] as appropriate. Ask which extras they need if they request a development setup without specifying what they plan to run.

Prerequisites

  • Confirm shell access to the target host or container before executing commands. If access is unavailable, give the user the commands to run on the target.

  • Before fetching packages, confirm the target can reach its configured package index, such as PyPI or a private mirror. For an offline install, check that the local package source contains the selected distribution and its dependencies.

  • Check the target Python version, executable, OS, and architecture. Run this with the candidate interpreter.

    python -c 'import platform, sys; print(sys.executable); print(sys.version); print(platform.system(), platform.machine()); print(sys.prefix, sys.base_prefix)'
    
  • Check Requires-Python and the requirements of any selected extras before choosing an interpreter. For [doc], find the Sphinx constraint in the checkout's [project.optional-dependencies].doc or the selected wheel's Requires-Dist metadata, then check Requires-Python for the matching Sphinx release in the package index. For example, the Sionna 2.2.0 source package requires Python 3.11+ and PyTorch 2.9.1+. Its [doc] extra pins Sphinx 9.1.0, which requires Python 3.12+. Older Sionna projects may require TensorFlow. Let the package manager resolve ordinary Python dependencies and honor project pins. Sphinx 9.1.0 metadata

  • For CUDA, check that nvidia-smi is available and runs on the target. Use it to check GPU visibility and the driver. If it is missing in a container, check the driver on the host and confirm GPU passthrough to the container. Verify that a compatible framework build is available for the selected Python and platform. Use the framework's official install selector when a specific build or package index is needed.

  • For source installs, check git --version, the checkout revision, and the package metadata. If using bundled RT source, confirm its path and URL in .gitmodules and check the submodule status.

System dependencies

Check dependencies on the target host or inside the target container. On Linux, read /etc/os-release to identify the distribution and release. Use its package manager and install only the missing prerequisites for the selected workload. In a managed image, use the project's image build or ask the image owner to add them if the target cannot be modified.

Before running any sudo command, obtain explicit user confirmation for the exact command and target unless the user has already authorized both. If confirmation is unavailable, give the user or administrator the exact command to run and report which step is blocked. Continue any independent setup steps, then rerun the dependency check before resuming the blocked step.

  • Documentation ([doc]). The Python extra installs Sphinx and its extensions. The documentation build also needs system-installed Pandoc and GNU Make. Check pandoc --version and make --version (or gmake --version). On Debian or Ubuntu, install the missing tools with sudo apt-get install pandoc make, omitting tools already available. On macOS with Homebrew, use brew install pandoc and, if GNU Make is missing, brew install make and run it as gmake. Use the target distribution's equivalent packages elsewhere. Homebrew Pandoc · Homebrew Make
  • Tests ([test]). The Python extra installs pytest and its plugins. Check system prerequisites for the selected tests, such as the LLVM library for CPU RT tests.
  • CPU ray tracing. Mitsuba uses Dr.Jit's LLVM backend for CPU ray tracing. Check the LLVM version supported by the selected Dr.Jit release. On Debian or Ubuntu, list available runtime packages with apt-cache search '^libllvm[0-9]+'. If the library is missing, set LLVM_PACKAGE to the compatible package name and use sudo apt-get install "$LLVM_PACKAGE" under the confirmation rule above. On other Linux distributions, look up the package providing the compatible LLVM shared library. On macOS with Homebrew, use brew install llvm or a compatible versioned LLVM formula. If Dr.Jit cannot locate an installed library, set DRJIT_LIBLLVM_PATH to the absolute path to the verified shared library file before starting Python. On macOS, locate it under the installed formula's prefix using brew --prefix. Dr.Jit backend requirements · Dr.Jit library path

Instructions

Select or create the Python environment

Reuse an explicit target or a compatible project-managed environment. Identify the package manager from project setup instructions and matching files. Look for uv.lock for uv, poetry.lock or [tool.poetry] for Poetry, and a pip-compile header or documented pip-sync workflow for pip-tools. Use the corresponding project workflow when it governs that environment. A plain requirements.txt can be installed with pip when the project documents that workflow.

If there is no suitable environment and the user has not explicitly requested a system or container interpreter, create a venv with a compatible Python. Use a different path if .venv already exists and is unsuitable. In a POSIX shell on Linux or macOS, run:

python -m venv .venv
SIONNA_PYTHON="$PWD/.venv/bin/python"
"$SIONNA_PYTHON" -m pip --version

Here python is the compatible interpreter selected above. For an existing environment, set SIONNA_PYTHON to the absolute path to its Python executable. Use that executable throughout, substituting its path directly when running commands in separate shells. If an explicitly requested interpreter is externally managed, explain the supported environment options before switching targets.

Switching distributions

Sionna distributions can share files under the sionna package. Prefer a fresh environment for a switch. If the user requests a switch in an existing pip environment, inspect the installed distributions, dependents, and file lists with "$SIONNA_PYTHON" -m pip show -f sionna sionna-no-rt sionna-rt. Confirm the replacement and any package needed to restore shared files are available before uninstalling anything. Surface dependency conflicts with other installed packages before changing the environment.

Uninstall the conflicting distribution first. For example, to switch from PHY/SYS without RT to full Sionna, run "$SIONNA_PYTHON" -m pip uninstall sionna-no-rt. Remove sionna-rt only if the requested setup excludes RT and no remaining package needs it. Reinstall any other retained distribution whose shared files the uninstall removed, using its original version and source. Install the replacement last, reinstalling it if it was already present. Follow the dependency and import checks below after the switch.

Run the installation

Run the command for the selected path. If a managed environment uses another installer, use its equivalent commands with the same package and version.

PyPI installCommand
Full Sionna"$SIONNA_PYTHON" -m pip install sionna
PHY and SYS only"$SIONNA_PYTHON" -m pip install sionna-no-rt
RT only"$SIONNA_PYTHON" -m pip install sionna-rt

For a pin, replace the package argument with a quoted PACKAGE==VERSION requirement after checking availability for that distribution. When a specific CPU or CUDA framework build is needed, install it in the same environment first using its official command, then install Sionna.

For source, follow the checkout's README.md and packaging metadata. Run the following at the repository root when the RT submodule path is ext/sionna-rt. Substitute the recorded path if the checkout uses another location.

git submodule update --init --recursive -- ext/sionna-rt &&
"$SIONNA_PYTHON" -m pip install ./ext/sionna-rt .

For RT-only source installs, install the Sionna RT checkout itself with "$SIONNA_PYTHON" -m pip install . from its root. For PHY and SYS from source without RT, use the checkout's no-RT build when it provides one. Otherwise, offer a compatible PyPI sionna-no-rt release and confirm before switching sources.

If the package manager's install command fails, capture the error and retry once after a concrete fix. Depending on the error, correct the package name or an erroneous pin, select a compatible interpreter, restore access to the configured package index, or install a missing system dependency. Preserve the requested version and package source unless the user approves a change. If there is no actionable fix or the retry fails, stop that install path and report the specific blocker.

Optional documentation and test extras

Check that the selected distribution or checkout declares the extras. For a source install, include them in the initial install command. Select '.[doc]', '.[test]', or '.[doc,test]' in place of the final .. Keep the local RT argument when the install includes that source. For example, after initializing the RT submodule, install both extras from the repository root with:

"$SIONNA_PYTHON" -m pip install ./ext/sionna-rt '.[doc,test]'

For PyPI, use the extra requirement in the initial command, for example "$SIONNA_PYTHON" -m pip install 'sionna[doc,test]'. Place any version pin after the brackets. When adding extras to an existing PyPI install, pin the installed release unless the user requested a version change.

Verify the installation

Use the installation's interpreter. With pip, run "$SIONNA_PYTHON" -m pip check and the metadata command for the selected component set. Use the project manager's equivalents where applicable. Run the imports for the selected components in the same environment.

InstallPackage metadataImports
Full Sionna"$SIONNA_PYTHON" -m pip show sionna sionna-rt"$SIONNA_PYTHON" -c 'import sionna.phy, sionna.sys, sionna.rt'
PHY and SYS only"$SIONNA_PYTHON" -m pip show sionna-no-rt"$SIONNA_PYTHON" -c 'import sionna.phy, sionna.sys'
RT only"$SIONNA_PYTHON" -m pip show sionna-rt"$SIONNA_PYTHON" -c 'import sionna.rt'
  • PyTorch CUDA for PHY/SYS. For PyTorch-based PHY/SYS installations, run "$SIONNA_PYTHON" -c 'import torch; raise SystemExit(0 if torch.cuda.is_available() else 1)'.
  • TensorFlow CUDA. For a TensorFlow-based Sionna release, run "$SIONNA_PYTHON" -c 'import tensorflow as tf; raise SystemExit(0 if tf.test.is_built_with_cuda() and tf.config.list_physical_devices("GPU") else 1)'. TensorFlow GPU verification
  • Dr.Jit CUDA for RT. When the selected Dr.Jit release exposes the API, run "$SIONNA_PYTHON" -c 'import drjit as dr; raise SystemExit(0 if dr.has_backend(dr.JitBackend.CUDA) else 1)'. Run the RT smoke test below with the CUDA variant. Dr.Jit backend API
  • CPU RT. Check installed versions with "$SIONNA_PYTHON" -m pip show sionna-rt mitsuba drjit. Use the selected RT release's dependency metadata for the allowed Mitsuba and Dr.Jit versions, including any exact pins. For example, Sionna RT 2.2.0 pins Mitsuba 3.9.1 and Dr.Jit 1.5.0. Use the matching Dr.Jit release's LLVM requirements. When that release exposes the API, run "$SIONNA_PYTHON" -c 'import drjit as dr; print(dr.__version__); raise SystemExit(0 if dr.has_backend(dr.JitBackend.LLVM) else 1)', then run the RT smoke test below.
  • Documentation. Check "$SIONNA_PYTHON" -m sphinx --version and the system tools above. For a requested docs build, use a matching source checkout and initialize the RT submodule if the docs tree references it. For a virtual environment, run PATH="${SIONNA_PYTHON%/*}:$PATH" make -C doc html from the repository root, using gmake if needed. This lets Make resolve both python3 and sphinx-build from the selected environment. For other managed environments, run Make through the project's environment runner.
  • Tests. Check "$SIONNA_PYTHON" -m pytest --version and follow the checkout's test instructions if the user requested a test run.

RT smoke test

For Sionna RT 2.2, solve a line-of-sight path between two radios in an empty scene. Select llvm_ad_mono_polarized for CPU or cuda_ad_mono_polarized for CUDA. For other releases, use the equivalent variant and path solver documented for that release.

"$SIONNA_PYTHON" - llvm_ad_mono_polarized <<'PY'
import sys

import mitsuba as mi
import numpy as np

mi.set_variant(sys.argv[1])
from sionna.rt import PathSolver, PlanarArray, Receiver, Transmitter, load_scene

scene = load_scene()
scene.tx_array = scene.rx_array = PlanarArray(
    num_rows=1, num_cols=1, pattern="iso", polarization="V"
)
scene.add(Transmitter(name="tx", position=(0, 0, 0)))
scene.add(Receiver(name="rx", position=(1, 0, 0)))
paths = PathSolver()(scene, max_depth=0)
if not np.asarray(paths.valid).any():
    raise SystemExit("No valid line-of-sight path")
print(f"Computed a valid line-of-sight path with {mi.variant()}")
PY

Report the installed distributions and versions, the interpreter path, and the checks that passed. Retry a failed check only after a concrete fix. The entire verification phase shares one budget of three retries across all checks. Stop and report the specific blocker if there is no actionable fix, or if verification is still failing after the third retry.

Limitations

Wheel and backend availability depend on the selected release, Python version, OS, and architecture. A package install can succeed even when the requested CUDA or RT backend is unavailable.

Troubleshooting

SymptomLikely causeAction
[doc] fails to resolve on Python 3.11The selected Sphinx pin requires a newer PythonFollow Prerequisites to check the Sphinx constraint and select a compatible interpreter.
RT submodule initialization failsThe path or URL differs, or the remote is unreachableCheck .gitmodules, the effective URL, and network or repository access. If the recorded source is unavailable, offer a compatible PyPI RT release and confirm before switching.
Dr.Jit reports that the LLVM shared library is missingLLVM is absent or outside Dr.Jit's search pathFollow System dependencies, then rerun the CPU RT check.
pip check reports a Mitsuba or Dr.Jit dependency conflictThe installed versions differ from the selected RT release's requirementsRestore the compatible versions in the selected environment, then rerun pip check and the backend check.
torch.cuda.is_available() returns falseThe GPU is hidden on the target or PyTorch lacks a compatible CUDA buildRecheck nvidia-smi on the target and confirm the installed PyTorch build.

Examples

  • “Install Sionna.”
  • “Install Sionna PHY and SYS from PyPI for CPU in a new virtual environment.”
  • “Install Sionna from this checkout with the documentation and test extras.”
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Frequently asked questions about sionna-install

What does the sionna-install skill do?

Use for installing, verifying, or troubleshooting Sionna PHY, SYS, or RT. Covers PyPI and source installs, dependencies, Python environments, and CPU or CUDA setups. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the sionna-install skill?

Run `npx @skills-hub-ai/cli install skills-sionna-install` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/skills-sionna-install/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does sionna-install work with?

sionna-install runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the sionna-install skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use sionna-install after installing it?

In Claude Code, type `/skills-sionna-install` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the sionna-install skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.

Badge for your README

Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.

Install on Skills Hub badge preview
Markdown
[![Install on Skills Hub](https://skills-hub.ai/api/badges/skill/skills-sionna-install)](https://skills-hub.ai/skills/skills-sionna-install)
HTML
<a href="https://skills-hub.ai/skills/skills-sionna-install"><img src="https://skills-hub.ai/api/badges/skill/skills-sionna-install" alt="Install on Skills Hub"></a>

More options in the badge docs.