Skip to content

'varname' fails when running under pyinstaller. How to fix? #9025

Answered by bwoodsend
zapta asked this question in Help
Discussion options

You must be logged in to vote

Eww, why would anyone want to do that...

Looks like its black magic requires the raw .py files for any module using one of these introspection functions. Probably easiest to use --add-data=path/to/myapp/main.py:myapp.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by zapta
Comment options

You must be logged in to vote
0 replies
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