1

I get a lot of warnings when I try to create an executable from python files (please see the code below).

I found in many forums that it could be related to "Microsoft C++ 2015", so I reinstalled it but it doesn't work. I tried a lot of solutions like uploading software that allows creating executables automatically, etc.

Do you have any ideas to suggest to me? PS: I'm using pyinstaller, pyqt5 and python36.

7078 WARNING: lib not found: api-ms-win-crt-locale-l1-1-0.dll dependency of c:\python36\python.exe

7319 WARNING: lib not found: api-ms-win-crt-heap-l1-1-0.dll dependency of c:\python36\python.exe

7543 WARNING: lib not found: api-ms-win-crt-runtime-l1-1-0.dll dependency of c:\python36\python.exe

7752 WARNING: lib not found: api-ms-win-crt-stdio-l1-1-0.dll dependency of c:\python36\python.exe

7966 WARNING: lib not found: api-ms-win-crt-math-l1-1-0.dll dependency of c:\python36\python.exe

8167 WARNING: lib not found: api-ms-win-crt-string-l1-1-0.dll dependency of c:\python36\VCRUNTIME140.dll

8364 WARNING: lib not found: api-ms-win-crt-heap-l1-1-0.dll dependency of c:\python36\VCRUNTIME140.dll

8560 WARNING: lib not found: api-ms-win-crt-convert-l1-1-0.dll dependency of c:\python36\VCRUNTIME140.dll

8764 WARNING: lib not found: api-ms-win-crt-runtime-l1-1-0.dll dependency of c:\python36\VCRUNTIME140.dll

8960 WARNING: lib not found: api-ms-win-crt-stdio-l1-1-0.dll dependency of c:\python36\VCRUNTIME140.dll

9177 WARNING: lib not found: api-ms-win-crt-environment-l1-1-0.dll dependency of c:\python36\python36.dll

9372 WARNING: lib not found: api-ms-win-crt-process-l1-1-0.dll dependency of c:\python36\python36.dll

9567 WARNING: lib not found: api-ms-win-crt-filesystem-l1-1-0.dll dependency of c:\python36\python36.dll

9773 WARNING: lib not found: api-ms-win-crt-string-l1-1-0.dll dependency of c:\python36\python36.dll

9960 WARNING: lib not found: api-ms-win-crt-conio-l1-1-0.dll dependency of c:\python36\python36.dll

10162 WARNING: lib not found: api-ms-win-crt-time-l1-1-0.dll dependency of c:\python36\python36.dll

10360 WARNING: lib not found: api-ms-win-crt-locale-l1-1-0.dll dependency of c:\python36\python36.dll

10552 WARNING: lib not found: api-ms-win-crt-convert-l1-1-0.dll dependency of c:\python36\python36.dll

10762 WARNING: lib not found: api-ms-win-crt-heap-l1-1-0.dll dependency of c:\python36\python36.dll

10987 WARNING: lib not found: api-ms-win-crt-runtime-l1-1-0.dll dependency of c:\python36\python36.dll

11187 WARNING: lib not found: api-ms-win-crt-stdio-l1-1-0.dll dependency of c:\python36\python36.dll

11377 WARNING: lib not found: api-ms-win-crt-math-l1-1-0.dll dependency of c:\python36\python36.dll
Akash Mahapatra
  • 2,988
  • 1
  • 14
  • 28
Dorian
  • 11
  • 4

1 Answers1

0

You system lacks the Visual C++ Redistributable Files and you'll need to install one of the packages bellow according to your system architecture in order to fix it.


The latest supported Visual C++ downloads

Visual Studio 2015, 2017 and 2019


Download the Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019. The following updates are the latest supported Visual C++ redistributable packages for Visual Studio 2015, 2017 and 2019. Included is a baseline version of the Universal C Runtime see MSDN for details.

Note Visual C++ 2015, 2017 and 2019 all share the same redistributable files.

For example, installing the Visual C++ 2019 redistributable will affect programs built with Visual C++ 2015 and 2017 also. However, installing the Visual C++ 2015 redistributable will not replace the newer versions of the files installed by the Visual C++ 2017 and 2019 redistributables.

This is different from all previous Visual C++ versions, as they each had their own distinct runtime files, not shared with other versions.

Visual Studio 2013 (VC++ 12.0)


For more information, see C++ Runtime for Sideloaded Windows 8.1 apps on the VC++ Team Blog.

Visual Studio 2012 (VC++ 11.0)


Download the Microsoft Visual C++ Redistributable Packages for Visual Studio 2012 Update 4. This is the latest supported Visual C++ redistributable package for Visual Studio 2012.

Visual Studio 2010 (VC++ 10.0) SP1


Visual Studio 2008 (VC++ 9.0) SP1



Source

Pedro Lobito
  • 94,083
  • 31
  • 258
  • 268