DualCoder / vgpu_unlock

Unlock vGPU functionality for consumer grade GPUs.
MIT License
4.61k stars 430 forks source link

ModuleNotFoundError: No module named 'frida' even when its installed #59

Closed chavinlo closed 3 years ago

chavinlo commented 3 years ago

So I finished the installation of this fork, but when booting up it fails to start both "NVIDIA vGPU Daemon" and "NVIDIA vGPU Manager Daemon".

journalctl -u nvidia-vgpu-mgr.service gives:

Jul 10 19:01:19 archtower systemd[1]: Starting NVIDIA vGPU Manager Daemon...
Jul 10 19:01:19 archtower vgpu_unlock[414]: Traceback (most recent call last):
Jul 10 19:01:19 archtower vgpu_unlock[414]:   File "/opt/vgpu_unlock_5.12/vgpu_unlock", line 13, in <module>
Jul 10 19:01:19 archtower vgpu_unlock[414]:     import frida
Jul 10 19:01:19 archtower vgpu_unlock[414]: ModuleNotFoundError: No module named 'frida'
Jul 10 19:01:19 archtower systemd[1]: nvidia-vgpu-mgr.service: Control process exited, code=exited, status=1/FAILURE
Jul 10 19:01:19 archtower systemd[1]: nvidia-vgpu-mgr.service: Failed with result 'exit-code'.
Jul 10 19:01:19 archtower systemd[1]: Failed to start NVIDIA vGPU Manager Daemon.

I don't code that much, but IIRC this is because of a missing python library right? after installing frida with pip, it keeps giving the same error. I can even import frida from a separate python3 console...

asciinema: https://asciinema.org/a/EA1Twe22z0Z2dGN1jwlKYKxbC

chavinlo commented 3 years ago

Sort of fixed??? Installed frida as root and fixed it but now I get error: Failed to open PID file: File exists

Jul 10 19:55:21 archtower nvidia-vgpud[443]: vgpu_unlock loaded.
Jul 10 19:55:21 archtower nvidia-vgpud[525]: vgpu_unlock loaded.
Jul 10 19:55:21 archtower nvidia-vgpud[525]: Verbose syslog connection opened
Jul 10 19:55:21 archtower nvidia-vgpud[525]: Directory /var/run/nvidia-vgpud will not be removed on exit
Jul 10 19:55:21 archtower nvidia-vgpud[525]: error: Failed to open PID file: File exists
Jul 10 19:55:21 archtower nvidia-vgpud[525]: Shutdown (525)
Jul 10 19:55:21 archtower systemd[1]: nvidia-vgpu-mgr.service: Deactivated successfully.