Msvcp140.Dll Missing

MSVCP140.dll missing

Either make your friends download the runtime DLL (@Kay's answer), or compile the app with static linking.

In visual studio, go to Project tab -> properties - > configuration properties -> C/C++ -> Code Generation on runtime library choose /MTd for debug mode and /MT for release mode.

This will cause the compiler to embed the runtime into the app. The executable will be significantly bigger, but it will run without any need of runtime dlls.

Can't pip install Tensorflow 'msvcp140_1.dll' missing

You can find msvcp140.dll in your %windows%/System32 folder, once you installed VC++ DIST for VS 2015, for msvcp140_1.dll you need to goto this page

https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads

and in the section :Visual Studio 2015, 2017 and 2019, pick the correct package with the arch of your PC.

Error MSVCP140.dll not found on python Geopandas installation

As eryksun said in his comment,

then MSVCP140.dll needs to be installed to the System32 directory or
a PATH directory. Installing vc_redist.x86.exe should resolve your
issue.

I post it here, because it solved my problem.

The fact that I change from win 64 to 32 bits, but I keep my python 32 bits has caused the error.

Missing MSCVP140.dll and Missing VCRUNTIME140.dll when running an .exe-File on another computer

This is covered on MSDN in some detail. See Deployment in Visual C++

You really have three choices:

  • Use the "centralized" versions of the DLLs. For this you should have a setup program that runs the VCREDIST_*.EXE packages for VS 2015 or if using a MSI-based setup you can use the MSM files provided.

  • Copy the required DLLs as part of your program. This means your installer or zip file or whatever that has the EXE includes the DLLs it needs too. This is the best choice if you want "copy and run" style deployment, but remember that all security servicing of the DLL is now your problem.

  • Use static linking. From a security perspective this is the least desired solution, and really should only be used in the specific cases of writing an installer--i.e. the program that installs an app has to run in the first place.

You have not specified which version of Windows is running on your target machine. VS 2015 does not support Windows 7 RTM as it's out of support, but it does support Windows 7 Service Pack 1 along with Windows Vista Service Pack 2, Windows 8.x, and Windows 10.

While we are on the subject note that Windows 8.0 is also out of support. Those users need to upgrade to Windows 8.1 Update or Windows 10.



Related Topics



Leave a reply



Submit