Error compiling .pyw to exe with py2exe

0

Hi, I'm trying to compile a .pyw to .exe file with py2exe, the setup.pyw contains the following:

from distutils.core import setup
import py2exe

setup(console=['laZagne.pyw'],options={'py2exe': { 
"dll_excludes": ["MSVFW32.dll",
                 "AVIFIL32.dll",
                 "AVICAP32.dll",
                 "ADVAPI32.dll",
                 "CRYPT32.dll",
                 "WLDAP32.dll"]
}})

The error he gives me is this:

  

error: [Errno 2] No such file or directory:   'api-ms-win-core-string-l1-1-0.dll'

Does anyone know the reason or the solution?

    
asked by jeronimo urtado 18.11.2016 в 22:43
source

1 answer

0

You have an error or lack of said DLL you can try installing the Update or running the sfc /scannow command from the console as Administrator.

    
answered by 18.11.2016 / 22:53
source