pyinstaller 사용시 hidden import not found 에러, collect_all 함수
·
Python
문제PyInstaller를 사용하여 단일 실행 파일로 패키징해서 exe파일을 만들었는데,pyqttoast 라이브러리의 토스트 알림 기능이 제대로 작동하지 않는 문제가 발생했다.원인try: toast = pyqttoast.Toast(self) toast.setDuration(1000) # 1초 toast.setTitle(pStr) toast.show()except Exception as e: print(e)try except문으로 콘솔에 에러 이유를 출력했다. [Errno 2] No such file or directory: 'C:\\Users\\xxx\\AppData\\Local\\Temp\\_MEI241722\\pyqttoast/css/toast_notification.cs..