[Python] ImportError: libcuda.so.1: cannot open shared object file

Discussão em 'Python' iniciado por Stack, Maio 15, 2025.

  1. Stack

    Stack Membro Participativo

    When I run my code with TensorFlow directly, everything is normal.

    However, when I run it in a screen window, I get the following error.

    ImportError: libcuda.so.1: cannot open shared object file: No such file or directory


    I have tried the command:

    source /etc/profile


    But it doesn't work.

    Cause I use ssh to connect to the servers, the screen is necessary.

    How can I fix it?

    Continue reading...

Compartilhe esta Página