JackMcKew / pyinstaller-action-windows

Github Action for building executables with Pyinstaller
MIT License
168 stars 67 forks source link

ModuleNotFoundError: No module named 'websockets' #14

Closed Nathan-Nesbitt closed 3 years ago

Nathan-Nesbitt commented 3 years ago

Strange issue that I can only reproduce with this script. I can build from the CLI with the .spec script but when I build it using this action I get the following error:

ModuleNotFoundError: No module named 'websockets'

I was trying to figure out if there are additional params required to get this to work but I can't find them in the docs!

JackMcKew commented 3 years ago

Have you provided a requirements.txt in the src folder that also includes the websockets dependancy?

Nathan-Nesbitt commented 3 years ago

Ah that fixed it, thank you!