I know this type of question has been asked here before, but I did not find a working solution to it. I have a python file which I want to convert to an exe on Windows 10. I
When there is a whole slew of WARNINGS coming from pyinstaller about not being able to locate Windows DLLs, you might check to see if they're in one of the two following locations:
C:\Windows\System32\downlevel
C:\Windows\SysWOW64\downlevel
You can add one or both to the PATH variable, like so and those warnings should disappear:
set PATH=%PATH%;C:\Windows\System32\downlevel
I mention this because it's easier than finding and copying the DLLs to a folder on the path like Alex F mentioned. I also noticed some of the DLLs you're unable to locate are in the folders I called out above.