실행파일 제작시 에러가 납니다. #124
Unanswered
breakoutson
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
pyinstaller로 파일 제작시 다음과 같은 에러가 납니다.
File "kiwipiepy_wrap.py", line 298, in init
ModuleNotFoundError: No module named 'kiwipiepy_model'
모듈을 못찾는 것인가 하여 지정하여 포함시켰습니다.
pyinstaller --hidden-import kiwipiepy_model my_script.py
그랬더니 또 아래와 같은 에러가 났습니다.
Cannot open file : C:\Users\Azzcom\AppData\Local\Temp_MEI527882\kiwipiepy_model/extract.mdl
파이참 가상환경에서 실행해도 동일, 윈도우환경, 맥환경 모두 동일한 에러입니다.
pyinstaller spec파일 중 datas [ ] 에 추가해서 다시 실행해보아도 마찬가지입니다.
해결방법을 아시는 분 있으실까요?
Beta Was this translation helpful? Give feedback.
All reactions