WARNING: lib not found: api-ms-win-core-path-l1-1-0.dll dependency of D:\Program Files\Python39\python39.dll #6200
-
Besides this, I also got
Again no side effects seen so far. Running pyinstaller 5.0dev0, python 3.9.7 |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
Yeah, those are all harmless.
The I'll add a warning suppression rule for
These are caused by hook adding those two modules to hiddenimports (here and here). These were probably applicable to earlier versions of |
Beta Was this translation helpful? Give feedback.
-
I encountered the same problem when I packaged a pyqt5 app which use python 3.10 on my local win 11 pc and then send it to another person which use win 7. I found the |
Beta Was this translation helpful? Give feedback.
-
After some tries, I run my pyqt5 app which is build on win11 and python 3.10 on another win7 successfully. All I need to do is just ship the correct arch of api-ms-win-core-path-l1-1-0.dll from https://github.com/nalexandru/api-ms-win-core-path-HACK/releases/download/0.3.1/api-ms-win-core-path-blender-0.3.1.zip. So maybe I can build a 32-bit python 3.10 based app which is compatible with more windows devices. And during the process, I got #4855 too, simple install KB3126587 to fix it. |
Beta Was this translation helpful? Give feedback.
-
I tested with both 32-bit and 64-bit of the latest python 3.10.5 embeddable package/installer package (Because you can't install the installer package, you can install on a supported os then copy it). If I added the correct arch of mstsc_zE88E02mDp.mp4And If you encounter some problems like |
Beta Was this translation helpful? Give feedback.
Yeah, those are all harmless.
The
api-ms-win-*
DLLs are typically not directly resolvable on Windows (unless you're using Anaconda python - in that case, Anaconda brings their own copy, so they are resolvable, and we collect them, even though perhaps we should not...).I'll add a warning suppression rule for
api-ms-win-core.*
to prevent that warning from being shown.These are caused by hook adding those two modules to hiddenimports (here and here). These were pr…