[Python]exe 파일 생성

Jae Gyeong Lee·2023년 3월 14일
0

파이썬 실행 파일 생성 관련,

1. 만들기

https://computer-science-student.tistory.com/218
https://wikidocs.net/21952

2. 에러 처리

만든 exe 파일이 열리지 않을 때
https://blog.naver.com/PostView.nhn?blogId=gyjeon1&logNo=221874393978&parentCategoryNo=&categoryNo=5&viewDate=&isShowPopularPosts=true&from=search

openpyxl.cell._writer 에러 관련,
https://stackoverflow.com/questions/74926850/how-to-solve-modulenotfounderror-no-module-named-openpyxl-cell-writer

pyinstaller로 exe 파일 만들 때, import openyxl을 꼭 해줘야 함,

pyinstaller --onefile sna_exe_file.py --hidden-import openpyxl.cell._writer

profile
안녕하세요 반갑습니다. 공부한 내용들을 기록하고 있습니다.

0개의 댓글