简体   繁体   中英

pyinstaller “Failed to execute script”

(before start, i'm not good at eng.)

i'm making a python application. everything was completed. but, pyinstaller don't work well. the file's name is "shojo.py". i used this code.

pyinstaller -w -F shojo.py

and if execute the file, this window appears.

error image

this time, i used this code.

pyinstaller -w -F -p D:\python\Lib\site-packages\PyQt5\Qt\bin shojo.py

but the result was same. this is the log.

https://github.com/shojoinfo/shojoinfo/blob/master/shojo/source/log%2Ctxt

and i found the file "warn-shojo.txt"

this is the file's contents.

https://github.com/shojoinfo/shojoinfo/blob/master/shojo/source/warn-shojo.txt

what should i do?

Not sure if this is the cause, but from the logs I see you need to give path to install those missing modules.

See here:

https://pyinstaller.readthedocs.io/en/stable/operating-mode.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM