Executable file question

Hello, I develop a python script and i make a executable file with pyinstaller and put it in /usr/bin but when i try to execute the appimage file (made with the terminal command ‘appimagetool hello.AppDir’), it don’t open and if i open with terminal (./hello-x86_64.AppImage) get an error:
/tmp/.mount_hello-FRhlAX/AppRun: riga 4: /usr/bin/hello: File or directory does not exist
Istantanea_2022-11-25_18-41-25
I am not sure i can create an appimage from a pyinstaller executable file, can someone help me to understand how i can made a right file for it.
Thanks and sorry for my bad English / bad explanation.