[Python] PyTorch Error loading "\lib\site-packages\torch\lib\shm.dll" or one of its...

Discussão em 'Python' iniciado por Stack, Março 1, 2025.

  1. Stack

    Stack Membro Participativo

    I cannot use PyTorch and Shap getting this error

    PyTorch Error loading "\lib\site-packages\torch\lib\shm.dll" or one of its dependencies.


    I have tried

    • to uninstall and re-install PyTorch, failed
    • create a new conda environment and reinstalled everything including PyTorch, failed
    • to install .NET C++ as suggested in other posts, but it was already installed

    I am not an expert on SO and dependencies, but i find it strange that there is not an easy way to fix it. Any idea?

    Continue reading...

Compartilhe esta Página