-
'XlsxWriter' object has no attribute 'save'.IT/python 2023. 6. 27. 11:25
AttributeError: 'XlsxWriter' object has no attribute 'save'.
pip install xlsxwriter를 하니 기존에 돌던 코드가 안돌아가고 위에 에러가 뜬다면 여기가 맞다.
XlsxWriter에 있던 save()는 close()로 바뀌었다.
함수를 바꿔버리면 굉장히 어지럽기 때문에 버전은 함부로 올리면 안된다.
즉
save() ========> close()
728x90반응형'IT > python' 카테고리의 다른 글
python mqtt 설치 및 세팅 요령 (0) 2023.07.05 PyAutoGUI 설치 및 설명_python마우스매크로 (0) 2023.06.29 ModuleNotFoundError: No module named 'xlsxwriter' (0) 2023.06.27 requirements.txt_Python 패키지 관리_가상환경 관리_pip_버전관리 (0) 2023.06.26 ModuleNotFoundError: No module named 'fsspec' (0) 2023.06.26