Missing api-ms-win-crt-runtime-l1-1-0.dll and VC++ redistributable in Windows 7

919 views
Skip to first unread message

Goyo D

unread,
Oct 26, 2016, 9:15:33 AM10/26/16
to WinPython
Hi,

I have been using a custom winpython in order to distribute some scripts across the organization I work for. This is very convenient and works very well in a corporate environment where software installation is restricted and with non-tech-savy users.

But we are using windows 7 x86 and with the latest versions of winpython some users are getting an error message:

"The program can't start because api-ms-win-crt-runtime-l1-1-0.dll is missing from your computer."

It looks like this can be fixed by installing the Microsoft Visual C++ Redistributable for Visual Studio 2015 or KB2999226 or both (I am a bit confused about this). But this would defeat the whole purpose of sparing users the administrative load of asking for administrative privileges and the need to deal with installers.

So I was wondering if there is a way of shipping the necessary dll's with my custom winpython and avoid the need to use a separate installer to install the updated runtime system wide.

I want to talk to the TI staff to see if there is an easy way to install the runtime for every user that needs it but I don't know how well it will go so I want to explore other possibilities.

Best regards
Goyo

stonebig

unread,
Oct 26, 2016, 2:01:24 PM10/26/16
to WinPython
This DLL is:
- un-avoidable with WinPython3.5 and after.
- mandatory in WinPython-3.4 only if you are using numba>numba-20, with version WinPython-3.4.4.2 of April 2015.
Indeed, Numba-20 was outdated and numba-25 needed also that DLL

So.... in Windows 7 environnement and not needing numba, use WinPython3.4.latest, otherwise  WinPython-3.4.4.1 maximum

Goyo D

unread,
Oct 26, 2016, 5:04:49 PM10/26/16
to WinPython
Thanks, that would be a last resort but I would prefer keeping pace with python development or at least not to lag so much. Win7 is going to stay around here for some more years and python 3.6 will be released pretty soon so python 3.4 will feel more and more outdated as time pass. Just in case it's not clear, winpython 3.5.2.2 works fine in my own computer with windows 7 and the visual C++ redistributable.

Microsoft docs list this as an alternative to install the Visual C++ redistributable (1)

Local deployment, in which you copy particular Visual C++ DLLs from your Visual Studio installation—typically in \Program Files (x86)\Microsoft Visual Studio version\VC\Redist\platform\library\—and install them on target computers in the same folder as the application executable. You can use this deployment method to enable installation by users who don't have administrator rights, or for applications that can be run from a network share. 

so I think this could work for winpython. Problem is I don't know what DLLs exactly I should copy, in case it works at all. I guess I can do a bit of trial and error and see what happens, I would appreciate any hint that can help to speed up the process --even if it is "do not waste your time".

Regards
Goyo

Goyo D

unread,
Oct 27, 2016, 5:33:04 AM10/27/16
to WinPython
I was able to make it work by copying the files listed in the KB2999226 article from my system directory into the directory python-3.5.2.

Goyo
Reply all
Reply to author
Forward
0 new messages