I’m using PyTorch library in Python.I keep getting this error down below.The error happens on the line
Import torch
OSError: [WinError 126] The specified module could not be found. Error loading “C:UsersMeAppDataLocalPackagesPythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0LocalCachelocal-packagesPython312site-packagestorchlibshm.dll” or one of its dependencies.
I installed all required dependencies and used Microsoft Visual tools to check the dependencies. I got the latest version of Microsoft Visual C++ Redistributable. I tried everything i could find but nothing workedHow do i fix this?
Tacoman 4life is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.