2023-06-18 10:18 PM - edited 2023-06-18 10:22 PM
Hello,
I am a newcomer to embedded systems. I have a STM32MP157D-DK1 and I'm planning to develop some python applications to run on the A7 processor. I am encountering some issues.
1. I created a simple web application using Python on Ubuntu. (python module: Flask)
2. I confirmed that it can be executed successfully.
3. I bundled it into a single executable file using pyinstaller (PC $> pyinstaller app.py --onefile).
4. I verified that the executable file can be used properly.
5. I transferred the file to an STM32 (starter kit).
6. When I tried to execute the file, an error occurred.
Error Message:
./app: line 1: syntax error: unexpected ")"
Other experiments:
I try to execute python source code directly on STM32, there is no problem.
I try to bundle python code into a single executable on STM32, but can't install pyinstaller. (pip3 install pyinstaller)
Thanks for your support,
Ken.
2024-12-11 09:29 PM
Hi @Jean-Marc B
Thank you for your quick response .
I have added the Zlib successfully but when I was trying to make it was showing the error of bootloader not available for your system but when I upgraded to the latest update of pyinstaller .
I was able to make the exe.
Thank you for your help.