반응형
pyinstaller autoit 포함할 때 exe에서 에러가 발생했다.
autoit이 포함이 안되는 것인데, 해당 --add-data에 autoit 경로를 넣어 import 시키면 해결된다.
pyinstaller --add-data C:\Users\사용자\AppData\Local\Programs\Python\Python310\Lib\site-packages\autoit\lib\AutoItX3_x64.dll;autoit\lib test.py
Pyinstaller OSError: Cannot load AutoItX...anycodings
Pyinstaller OSError: Cannot load AutoItX I used import autoit. The script is running anycodings_pyinstaller perfectl ...
www.anycodings.com
반응형
'개발 > python' 카테고리의 다른 글
[파이썬] 요일 정렬하기 (무식하게) (0) | 2022.10.08 |
---|---|
[파이썬] 윈도우 폴더 생성 os.mkdirs 특수문자 제거 정규식 (0) | 2022.10.07 |
pyinstaller : RuntimeError: input(): lost sys.stdin (0) | 2022.09.26 |
파이썬 이미지 resize 방법 / 가로, 세로 다르게 적용하기 PIL (0) | 2022.09.22 |
파이썬 requests 이미지 다운로드 에러 처리[403,permission] (1) | 2022.09.21 |