Installation#
Pre-requisites#
[Optional] Review the NVIDIA NGC Status Page to ensure NVIDIA Remote Attestation Service (NRAS), RIM Service, and OCSP Service are functional.
Install Attestation SDK#
Before installation, please review the Compatibility Matrix to determine the correct version of nvTrust and driver to install.
From Source#
Install nv-local-gpu-verifier as a pre-requisite (Follow the instructions in Local Verifier to install the NVIDIA GPU Local Verifier) If you choose to install the Attestation SDK from the source code, use the following commands:
cd attestation_sdk
pip3 install .
From PyPI#
If you choose to install the Attestation SDK directly from PyPI, use the following commands (requires virtual environment creation):
python3 -m venv venv
source venv/bin/activate
pip3 install nv-attestation-sdk
Troubleshooting Installation Issues#
If you encounter warning and installation issues similar to the below while installing the package:
WARNING: Ignoring invalid distribution ~v-attestation-sdk <site-package-directory>
Please execute the following commands to clean up packages that were not installed properly and then re-try the installation:
rm -rf $(ls -l <site-packages-directory> | grep '~' | awk '{print $9}')
Building Attestation SDK#
python3 -m pip install --upgrade build
python3 -m build