Skip to content

WARNING: lib not found: api-ms-win-core-path-l1-1-0.dll dependency of D:\Program Files\Python39\python39.dll #6200

Answered by rokm
aliencaocao asked this question in PyInstaller
Discussion options

You must be logged in to vote

Yeah, those are all harmless.

WARNING: lib not found: api-ms-win-core-path-l1-1-0.dll dependency of D:\Program Files\Python39\python39.dll

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.

WARNING: Hidden import "pkg_resources.py2_warn" not found!
WARNING: Hidden import "pkg_resources.markers" not found!

These are caused by hook adding those two modules to hiddenimports (here and here). These were pr…

Replies: 4 comments 8 replies

Comment options

You must be logged in to vote
1 reply
@aliencaocao
Comment options

Answer selected by aliencaocao
Comment options

You must be logged in to vote
5 replies
@rokm
Comment options

@liudonghua123
Comment options

@rokm
Comment options

@rokm
Comment options

@yejinchu
Comment options

Comment options

You must be logged in to vote
1 reply
@taurus1211
Comment options

Comment options

You must be logged in to vote
1 reply
@taurus1211
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants