Skip to content

Pyinstaller doesn't pick up selectolax ? #8703

Answered by rokm
baseplate-admin asked this question in Help
Discussion options

You must be logged in to vote

Looks like selectolax.modest is not collected, and at least in the latest version of selectolax, it seems to be a namespace package without any modules (it's a directory with .pxi files).

Can you try adding selectolax.modest to hiddenimports?

Alternatively, collecting data files from selectolax might also do the trick (add from PyInstaller.utils.hooks import collect_data_files and then do datas=collect_data_files('selectolax')), because it will ensure that selectolax/modest directory exists on filesystem.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@baseplate-admin
Comment options

Answer selected by baseplate-admin
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