아이공의 AI 공부 도전기

[Python Error] Solution: XLRDError: Excel xlsx file; not supported

 

 

 

"XLRDError: Excel xlsx file; not supported" Error를 만나게 된다면 다음과 같은 순서를 따르기를 권한다.

 

0. pip install xlrd

 

1. install openpyxl 

 

2. pandas.read_excel(..., engine='openpyxl')와 같이 parameter를 추가

 

만약 위 행동들을 했는데도 작동하지 않는다면 pandas를 업데이트 해보는 것을 추천한다.

 

 

https://stackoverflow.com/questions/65250207/pandas-cannot-open-an-excel-xlsx-file

 

Pandas cannot open an Excel (.xlsx) file

Please see my code below: import pandas df = pandas.read_excel('cat.xlsx') After running that, it gives me the following error: Traceback (most recent call last): File "d:\OneDrive\桌面\pract...

stackoverflow.com

 

공유하기

facebook twitter kakaoTalk kakaostory naver band
loading