As @COLDSPEED so eloquently pointed out the error explicitly tells you to install xlrd.
pip install xlrd
And you will be good to go.
Answer from Grr on Stack OverflowPyTutorial
pytutorial.com › integrate-python-xlrd-with-pandas-for-data-analysis
PyTutorial | Integrate Python xlrd with pandas for Data Analysis
November 19, 2025 - ... Verify the installation by importing them. No errors should appear. This confirms successful installation. import xlrd import pandas as pd print("Libraries imported successfully")
Python Basics
pythonbasics.org › home › pandas › read excel with python pandas
Read Excel with Python Pandas - pythonbasics.org
Read Excel files (extensions:.xlsx, .xls) with Python Pandas. To read an excel file as a DataFrame, use the pandas read_excel() method. You can read the first s
Pandas
pandas.pydata.org › pandas-docs › stable › reference › api › pandas.read_excel.html
pandas.read_excel — pandas 3.0.6 documentation
December 26, 2020 - E.g. {‘a’: np.float64, ‘b’: np.int32} Use object to preserve data as stored in Excel and not interpret dtype, which will necessarily result in object dtype. If converters are specified, they will be applied INSTEAD of dtype conversion. If you use None, it will infer the dtype of each column based on the data. engine{‘openpyxl’, ‘calamine’, ‘odf’, ‘pyxlsb’, ‘xlrd’}, default None
Top answer 1 of 16
165
As @COLDSPEED so eloquently pointed out the error explicitly tells you to install xlrd.
pip install xlrd
And you will be good to go.
2 of 16
126
Since December 2020 xlrd no longer supports xlsx-Files as explained in the official changelog. You can use openpyxl instead:
pip install openpyxl
And in your python-file:
import pandas as pd
pd.read_excel('path/to/file.xlsx', engine='openpyxl')
Pandas
pandas.pydata.org › docs › reference › api › pandas.ExcelFile.html
pandas.ExcelFile — pandas 3.0.5 documentation - PyData |
class pandas.ExcelFile(path_or_buffer, engine=None, storage_options=None, engine_kwargs=None)[source]# Class for parsing tabular Excel sheets into DataFrame objects. See read_excel for more documentation. ... A file-like object, xlrd workbook or openpyxl workbook. If a string or path object, expected to be a path to a .xls, .xlsx, .xlsb, .xlsm, .odf, .ods, or .odt file.
Address: 100 S Wacker DrSTE 600, 60606, Chicago
Readthedocs
xlrd.readthedocs.io
xlrd — xlrd 2.0.1 documentation
xlrd is a library for reading data and formatting information from Excel files in the historical .xls format.
Pandas
pandas.pydata.org › docs › dev › reference › api › pandas.ExcelFile.html
pandas.ExcelFile — pandas 3.1.0.dev0 documentation
class pandas.ExcelFile(path_or_buffer, engine=None, storage_options=None, engine_kwargs=None)[source]# Class for parsing tabular Excel sheets into DataFrame objects. See read_excel for more documentation. ... A file-like object, xlrd workbook or openpyxl workbook. If a string or path object, expected to be a path to a .xls, .xlsx, .xlsb, .xlsm, .odf, .ods, or .odt file.
Pandas
pandas.pydata.org › docs › reference › api › pandas.read_excel.html
pandas.read_excel — pandas 3.0.6 documentation - PyData |
E.g. {‘a’: np.float64, ‘b’: np.int32} Use object to preserve data as stored in Excel and not interpret dtype, which will necessarily result in object dtype. If converters are specified, they will be applied INSTEAD of dtype conversion. If you use None, it will infer the dtype of each column based on the data. engine{‘openpyxl’, ‘calamine’, ‘odf’, ‘pyxlsb’, ‘xlrd’}, default None
Stack Overflow
stackoverflow.com › questions › 60596208 › turning-a-pandas-dataframe-from-excel-file-xlrd-to-a-list
python - Turning a pandas dataframe from Excel file (xlrd) to a list - Stack Overflow
Any better way to solve the problem is also appreciated. import pandas as pd import xlrd workbook = xlrd.open_workbook("MyData_XYZ.xlsx") sheet1 = workbook.sheet_by_index(0) def get_cell_range2(sheet, start_col, start_row, end_col, end_row): ...
Databricks Community
community.databricks.com › databricks community › data engineering › pyspark.pandas.read_excel(engine = xlrd) reading xls file with #ref error
pyspark.pandas.read_excel(engine = xlrd) reading x... - Databricks Community - 38115
August 8, 2023 - I need to read it into pyspark. I tried pyspark.pandas.read_excel(file_path, sheet_name = 'sheet_name', engine='xlrd', convert_float=False, dtype='str', errors='coerce').to_spark() and expected it to read the file, but get the error "read_excel() got an unexpected keyword argument 'errors'".
Pandas
pandas.pydata.org › pandas-docs › stable › reference › api › pandas.ExcelFile.html
pandas.ExcelFile — pandas 2.2.3 documentation - PyData |
class pandas.ExcelFile(path_or_buffer, engine=None, storage_options=None, engine_kwargs=None)[source]# Class for parsing tabular Excel sheets into DataFrame objects. See read_excel for more documentation. ... A file-like object, xlrd workbook or openpyxl workbook. If a string or path object, expected to be a path to a .xls, .xlsx, .xlsb, .xlsm, .odf, .ods, or .odt file.
Alteryx Knowledge
knowledge.alteryx.com › index › s › article › Python-Error-XLRDError-Excel-xlsx-file-not-supported
Python Error: XLRDError: Excel xlsx file; not supported
Use openpyxl to open .xlsx files instead of xlrd. Install the openpyxl library on your cluster. Confirm that you are using pandas version 1.0.1 or above.

