Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python module 'pynvml' not installed! #226

Open
DStrelak opened this issue Dec 19, 2022 · 0 comments
Open

Python module 'pynvml' not installed! #226

DStrelak opened this issue Dec 19, 2022 · 0 comments

Comments

@DStrelak
Copy link

I have a question regarding atopgpud.

We recently tried to install atop (2.7.1, with atopgpud deemon) on our Centos 7 machine (Python 3.6.8), and we were getting the Python module 'pynvml' not installed! error, even though we confirmed that pynvml was properly installed.
On the other hand, on our Ubuntu 20.04 machine with python 3.8.10 and Atop 2.6.0, all worked without a problem.
So we tried to find out what is the problem and we encountered this:

At the beginning, the script uses the following shebang:
#!/usr/bin/python3 -Es

From the documentation, -s prevents loading side packages, which also includes pynvml.

Is that -s switch there on purpose?

Note: atop 2.6.0 uses the same shebang, so our problem is probably OS / Python specific.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant