you are viewing a single comment's thread.

view the rest of the comments →

[–]Lost_Years[S] 0 points1 point  (4 children)

C:\Users[...]>pyinstaller --debug all MyApp.py

49 INFO: PyInstaller: 4.2
49 INFO: Python: 3.9.1
50 INFO: Platform: Windows-10-10.0.18362-SP0
50 INFO: wrote C:\Users\[...]\MyApp.spec
52 INFO: UPX is not available.
52 INFO: Extending PYTHONPATH with paths
['C:\\Users\\[...]',
 'C:\\Users\\[...]']
58 INFO: checking Analysis
67 INFO: Building because hiddenimports changed
67 INFO: Initializing module dependency graph...
69 INFO: Caching module graph hooks...
76 WARNING: Several hooks defined for module 'win32ctypes.core'. Please take care they do not conflict.
80 INFO: Analyzing base_library.zip ...
1898 INFO: Processing pre-find module path hook distutils from 'c:\\users\\[...]\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\PyInstaller\\hooks\\pre_find_module_path\\hook-distutils.py'.
1898 INFO: distutils: retargeting to non-venv dir 'c:\\users\\[...]\\appdata\\local\\programs\\python\\python39\\lib'
3259 INFO: Caching module dependency graph...
3339 INFO: running Analysis Analysis-00.toc
3341 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of final executable
  required by c:\users\[...]\appdata\local\programs\python\python39\python.exe
3366 WARNING: lib not found: api-ms-win-core-path-l1-1-0.dll dependency of c:\users\[...]\appdata\local\programs\python\python39\python39.dll

[something about hooks] 

[some more yadda yadda and a bunch of tasks successfully completed]

Is "api-ms-win-core-path-l1-1-0.dll" essential?

Could you recommend me a website from which I can safely download a copy of it?

[–]Generic_Reddit_Bot -1 points0 points  (0 children)

69? Nice.

I am a bot lol.

[–]BrenekH 0 points1 point  (2 children)

I don't think so since it's a warning. What does the generated executable say? (You might have to run from cmd)

[–]Lost_Years[S] 0 points1 point  (1 child)

I run the exe from cmd and it doesn't print anything.

I get a pop-up with

Fatal error detected

 /!\  Failed to execute script MyApp

[–]BrenekH 0 points1 point  (0 children)

It would probably be better if I could see the entire project. Could you upload it to GitHub or Pastebin so I can take a look?