Skip to content

Python module 'pynvml' not installed! #226

Description

@DStrelak

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions