Skip to content

Can I ignore these warnings? #8245

Answered by bwoodsend
mgshimizu asked this question in Help
Jan 19, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Those ctypes libraries are triggered by some line of code like ctypes.CDLL("msvcrt") but since that's a Windows only library, it'll be inside an if sys.platform == "windows" block or something equivalent where they will be skipped at runtime but PyInstaller's dependency scanner is not smart enough to detect that their not ran on Linux. You can ignore those.

Hidden imports not being found can be an indicator that PyInstaller can't see your dependencies because your environment is a mess which is definitely a problem. If you don't use those packages though, you can ignore them.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mgshimizu
Comment options

@bwoodsend
Comment options

@mgshimizu
Comment options

Answer selected by mgshimizu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants