Page 1 of 1

Missing VCRUNTIME140.dll

Posted: Tue Mar 22, 2016 1:40 pm
by stonedegg
Hello, I just updated my server to use the latest SP version and when SP loads I'm getting this srcds system error: https://i.gyazo.com/b2f78d62de22b28de1ff304d10be1746.png

The error says that vcruntime140.dll is missing. I've googled this and other python 3.5 related issues pointed me to install this: https://www.microsoft.com/en-us/download/details.aspx?id=48145

I installed it (also restarted pc later) but I'm still getting this error. Any ideas?

Posted: Tue Mar 22, 2016 1:58 pm
by Ayuto
Can you check if the directory of the installed DLL is on the PATH environment variable?

I guess that's the new requirement for Python 3.5. Currently, we are shipping msvcr100.dll and msvcp100.dll with Source.Python, but they probably have been replaced with vcruntime140.dll and msvcp140.dll. I will check that in the next few days.

See also: https://github.com/Source-Python-Dev-Team/Source.Python/issues/114

Posted: Tue Mar 22, 2016 2:52 pm
by stonedegg
The DLL was installed to c:\windows\system32, which is in my PATH environment variable.

Solution: I installed the 64bit version of vcruntime.dll, but SP uses the 32bit version of python. Uninstalling the 64bit version of the DLL and installing the 32bit version worked fine. SP loads again.

Posted: Wed Mar 30, 2016 10:22 am
by DarenBent
You should check the updates of Visual Studio or reinstal it on your PC, also you can download missed .dll library file and add it into the system32 folder. I made like this and error gone. Hope it will be useful for you. Good luck.

Posted: Wed Mar 30, 2016 10:36 am
by Ayuto
The issue has been resolved already:
https://github.com/Source-Python-Dev-Team/Source.Python/issues/114

There is no need to install anything.