NVIDIA / nvtrust

Ancillary open source software to support confidential computing on NVIDIA GPUs
Apache License 2.0
175 stars 27 forks source link

Some issue for the install of gpu local verfiier and attestation sdk #17

Closed JustPlay closed 8 months ago

JustPlay commented 8 months ago
[tdx guest|ubuntu-22.04] root@bytedance:~/guest-tools.d/nvidia.d/nvtrust/guest_tools/gpu_verifiers/local_gpu_verifier# python3 -m pip install .
Processing /root/guest-tools.d/nvidia.d/nvtrust/guest_tools/gpu_verifiers/local_gpu_verifier
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: UNKNOWN
  Building wheel for UNKNOWN (pyproject.toml) ... done
  Created wheel for UNKNOWN: filename=UNKNOWN-0.0.0-py3-none-any.whl size=7434 sha256=61449ab36b5063e9743f278a9d12038192fcb64d0bf02277e482e36885f75397
  Stored in directory: /tmp/pip-ephem-wheel-cache-jlrig475/wheels/0d/f7/b0/610f194c6d51c4c30025364e3154e7f43b37355c97113bc8a3
Successfully built UNKNOWN
Installing collected packages: UNKNOWN
  Attempting uninstall: UNKNOWN
    Found existing installation: UNKNOWN 0.0.0
    Uninstalling UNKNOWN-0.0.0:
      Successfully uninstalled UNKNOWN-0.0.0
Successfully installed UNKNOWN-0.0.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
[tdx guest|ubuntu-22.04] root@bytedance:~/guest-tools.d/nvidia.d/nvtrust/guest_tools/gpu_verifiers/local_gpu_verifier# python3 -m verifier.cc_admin
/usr/bin/python3: Error while finding module specification for 'verifier.cc_admin' (ModuleNotFoundError: No module named 'verifier')
[tdx guest|ubuntu-22.04] root@bytedance:~/guest-tools.d/nvidia.d/nvtrust/guest_tools/gpu_verifiers/local_gpu_verifier#
Tan-YiFan commented 8 months ago

This solution might help: https://github.com/pypa/setuptools/issues/3269#issuecomment-1550279751

JustPlay commented 8 months ago

This solution might help: pypa/setuptools#3269 (comment)

fix-ed; thanks