gramineproject / gramine-tdx

A library OS for Linux multi-process applications, with Intel TDX support (experimental)
GNU Lesser General Public License v3.0
16 stars 2 forks source link

[tools] Mention that need to install `psutil` Python module #1

Open dimakuv opened 9 months ago

dimakuv commented 9 months ago

Commit [tools] Introduce Gramine VM ID in gramine-vm.in introduces a requirement of psutil Python module. Without it installed on the host, gramine-vm fails like this:

$ gramine-vm helloworld
Error: Python script for determining the Gramine-VM ID exited with a non-zero status: 1
Error message: Traceback (most recent call last):
  File "<string>", line 2, in <module>
ModuleNotFoundError: No module named 'psutil'

To fix the problem, simply apt install python3-psutil.

We must mention it in the documentation.