I have made a timer, when the time is up, it shows a notification using the module plyer
but when I turn it into an executable with pyinstaller using the command pyinstaller timer.pyw
and run it, the notification does not show and the window just crashes. I think it's because that pyinstaller
does not support plyer
. I've tried using the --hidden-import
option but it still does not work. how do I solve this problem?
我刚刚去了 python 的 site-packages 文件夹,对我来说是c:\\python\\Lib\\site-packages\\
并将 plyer 文件夹复制到 PyInstaller 目录。
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.