본문 바로가기
외국어/몬티 파이튼의 비행 서커스

PyInstaller

by 사막 고양이 2023. 5. 2.
pyinstaller -w -F qtextbrowser_advanced.py

VSCode에서 만들 경우 나중에 실행할 때 에러가 발생할 수 있다. 

그냥 파워셀에서 생성하자.

 

AttributeError: 'NoneType' object has no attribute 'write' 에러 처리

https://eomcheon.tistory.com/238

 

파이썬 pyinstaller 실행 후 'NoneType' object has no attribute 'write'

요즘 파이썬으로 이것저것 개발을 하고 있다. pyqt5를 통해 ui를 만들고, 실시간으로 로그를 출력하는 기능을 만들었다. 파이썬으로 디버깅시에는 문제없이 동작하지만 아래와같은 오류가 발생했

eomcheon.tistory.com

https://stackoverflow.com/questions/63956413/cx-freeze-window-attributeerror-nonetype-object-has-no-attribute-write/63964910#63964910

 

CX_FREEZE Window - AttributeError: 'NoneType' object has no attribute write

I am currently using cx_freeze 6.1 (had some different issues with 6.2 and 6.3) to generate MSI windows installer for an OpenCV python application. Compilation was successful and generated MSI inst...

stackoverflow.com