Notice
Recent Posts
Today
Total
«   2024/07   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
관리 메뉴

나름개발블로그

python pyinstaller decode 본문

A/Python

python pyinstaller decode

성남개발자 2018. 11. 6. 13:34

파이썬으로 exe 파일을 만드는 pyinstaller를 사용 중에 decode 관련 버그가 있어서 검색해서 찾았다.


I found an answer on another forum. I change the line number 369 in the Python\Lib\site-packages\Pyinstaller\compat.py file:

out = out.decode(encoding)

to

out = out.decode(encoding, errors='ignore')

Now I can compile my script without any issue. I still don't know why my issue happened in the first place but at least that compiles now.



'A > Python' 카테고리의 다른 글

python jupyter notebook 팁1  (0) 2018.10.16
파이썬 내장 자료, 함수 알아보기  (0) 2018.10.16
아나콘다 가상환경 설정 (Virtual Env)  (0) 2018.07.24
파이썬 넘파이  (0) 2018.07.17
Comments