How to Streasmlit app covert to exe

see this link How to convert Streamlit app into .exe Executable file? | by Mehul Gupta | Data Science in Your Pocket | Medium

I followed the instructions provided in the above link to convert a Streamlit application into an executable file (EXE). However, I encountered an error, which I have documented in the attached picture. Please review it and provide me with the correct code to successfully convert the Streamlit app to an EXE.

thank you in advance for your help

see error

I followed the instructions provided in the above link to convert a Streamlit application into an executable file (EXE). However, I encountered an error, which I have documented in the attached picture. Please review it and provide me with the correct code to successfully convert the Streamlit app to an EXE.

thank you in advance for your help

Does this error happen when you are building the .exe program or afterwards, when you run the .exe program?