Missing VCRUNTIME140.dll

All other Source.Python topics and issues.
stonedegg
Senior Member
Posts: 141
Joined: Sun Aug 12, 2012 11:45 am

Missing VCRUNTIME140.dll

Postby stonedegg » Tue Mar 22, 2016 1:40 pm

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?
User avatar
Ayuto
Project Leader
Posts: 2195
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Postby Ayuto » Tue Mar 22, 2016 1:58 pm

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
stonedegg
Senior Member
Posts: 141
Joined: Sun Aug 12, 2012 11:45 am

Postby stonedegg » Tue Mar 22, 2016 2:52 pm

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.
DarenBent
Junior Member
Posts: 1
Joined: Wed Mar 30, 2016 10:19 am

Postby DarenBent » Wed Mar 30, 2016 10:22 am

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.
User avatar
Ayuto
Project Leader
Posts: 2195
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Postby Ayuto » Wed Mar 30, 2016 10:36 am

The issue has been resolved already:
https://github.com/Source-Python-Dev-Team/Source.Python/issues/114

There is no need to install anything.

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 14 guests