TorchStudio / torchstudio

IDE for PyTorch and its ecosystem
https://torchstudio.ai
MIT License
378 stars 27 forks source link

Missing MSVCP140.dll Install Errors #20

Closed alexhiggins732 closed 2 years ago

alexhiggins732 commented 2 years ago

Then running the installer on Windows 10 results in complaints about several missing MSVCP140.dlls when attempting to launch the application after the installer completes.

image image

image image image image

image

I have attempted to install the [Visual C++ Redistributable for Visual Studio 2015 ] which should contain the v14 dlls. (https://www.microsoft.com/en-us/download/details.aspx?id=481

alexhiggins732 commented 2 years ago

I was able to resolve the issue by installing the Microsoft Visual C++ Redistributable packages for Visual Studio 2015, 2017, 2019, and 2022.

Architecture | Link | Notes -- | -- | -- ARM64 | https://aka.ms/vs/17/release/vc_redist.arm64.exe | Permalink for latest supported ARM64 version X86 | https://aka.ms/vs/17/release/vc_redist.x86.exe | Permalink for latest supported x86 version X64 | https://aka.ms/vs/17/release/vc_redist.x64.exe | Permalink for latest supported x64 version. The X64 redistributable package contains both ARM64 and X64 binaries. This package makes it easy to install required Visual C++ ARM64 binaries when the X64 redistributable is installed on an ARM64 device.
divideconcept commented 2 years ago

Fixed with TorchStudio 0.9.7