79768572

Date: 2025-09-18 14:32:58
Score: 1.5
Natty:
Report link

I did it!

Since it wasn’t finding qtmodern I checked the path to the venv with poetry env info --path I set a variable, $venvpath, in Powershell to the path to the venv and tried generating from the .py script again, with command

poetry run pyinstaller main.py --onefile --paths "$venvPath\Lib\site-packages" --hidden import=qtmodern --hidden-import=qtmodern.styles --hidden-import=qtmodern.windows

And now it’s getting past line 4 of main.py! Progress!

Reasons:
  • Contains signature (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: AGA