npx skills add ...
npx skills add nvidia/skills --skill cuopt-install
Install cuOpt for Python, C, or server via pip, conda, or Docker; verify the install. For building cuOpt from source, see cuopt-developer.
npx skills add nvidia/skills --skill cuopt-install
Install cuOpt to use it from Python, C, or as a REST server. For building cuOpt from source to contribute or modify it, see cuopt-developer.
cuopt-cu12 / libcuopt-cu12 with CUDA 12).cuopt-cuXX (Python) depends on libcuopt-cuXX (C), so installing the Python package also installs the C library and headers. Installing libcuopt-cuXX on its own does not install the Python API.Ask these if not already clear:
nvcc --version or nvidia-smi.Choose one — do not run both. The second install would override the first and can cause CUDA / package mismatch.
The C API ships in libcuopt-cuXX, which is also pulled in as a dependency of cuopt-cuXX — so if you already installed the Python package, the C library and headers are already present. Install libcuopt standalone only when you want the C API without Python. Choose one of pip or conda — do not run both.
See references/verification_examples.md
for the canonical C-API header/library find commands (conda and pip/venv variants).
No module named 'cuopt' → check pip list | grep cuopt, which python, reinstall with the correct extra-index-url.nvidia-smi and nvcc --version; ensure the package CUDA suffix (cu12 vs cu13) matches the installed CUDA.cuopt-cuXX pulls in libcuopt-cuXX as a transitive dependency, so the C library (libcuopt.so) and headers (cuopt_c.h) are already available after installing the Python package. The reverse is not true: libcuopt-cuXX alone does not install the Python bindings.cuopt-developer — build cuOpt from source and contribute to the codebase.