I installed torch using “pip install torch” command. it was working.
I did install torchvision using “pip install torchvision” . after that started getting following error .
Error loading “\lib\site-packages\torch\lib\shm.dll” or one of its dependencies
Note: Uninstalled torch, torchvision and re-installed torch. still the issue persisted.
Following command solved the issue on my machine, I experianced the issue due to MKl version mismatch, latest torch installation getting me mkl which is interfering with mkl I have in my application.
Hello, I tried as you wrote in your comment. Nothing worked, I tried installing different versions of Torch, Torchaudio, Torchvision. The error remains the same: …Python311\site-packages\torch\lib\shm.dll" or one of its dependencies. Please tell me the solution. Thanks in advance.
So I had this problem also, version 2.2.1 works, but version 2.3.0 does not.
Is this a bug that needs fixing? What is the root cause of this? I want to keep my packages updated and there are some dependencies that will require to keep up with the latest.