Replies: 2 comments 3 replies
-
Hi Phil: I've no plans to create standalone executable versions, partly because I've no experience of doing so and partly because I don't want to complicate the build/distribution process (especially if multi-platform support is required). Others may be able to assist, and I'd be happy to post instructions. |
Beta Was this translation helpful? Give feedback.
-
UPDATE - I've managed to make a working standalone EXE file as follows in case it helps anyone else: Edit "sonos.py" in Notepad CHANGE THE FOLLOWING LINE: This fixes error in the standalone exe: ADD THE FOLLOWING LINE (I added it immedately below the line above): This fixes error in the standalone exe: Save changes and close notepad Run CMD as Administrator, then run the following from it: python -m pip install pyinstaller CD "C:\Users\Whoever\AppData\Local\Programs\Python\Python311\Lib\site-packages\soco_cli" pyinstaller sonos.py --onefile Standalone "sonos.exe" should then be in folder "C:\Users\Whoever\AppData\Local\Programs\Python\Python311\Lib\site-packages\soco_cli\dist" |
Beta Was this translation helpful? Give feedback.
-
Hi folks, is there a Complied/Standalone EXE for Windows or can anyone help me make one?
I've got the script working fine on a test PC but I'm not allowed to install Python on the PC I'd really like to use it on.
I've tried using pyinstaller which almost works but fails with errors when running it!
Many thanks
Beta Was this translation helpful? Give feedback.
All reactions