"D:\PyCharm Community Edition 2023.1.2\jbr\bin\venv\Scripts\python.exe" "D:\PyCharm Community Edition 2023.1.2\jbr\pythonProject1\pythonProject\redexcel.py"
Traceback (most recent call last):
File "D:\PyCharm Community Edition 2023.1.2\jbr\pythonProject1\pythonProject\redexcel.py", line 3, in <module>
wb = xlrd.open_workbook(loc)
^^^^^^^^^^^^^^^^^^^^^^^
File "D:\PyCharm Community Edition 2023.1.2\jbr\bin\venv\Lib\site-packages\xlrd\__init__.py", line 170, in open_workbook
raise XLRDError(FILE_FORMAT_DESCRIPTIONS[file_format]+'; not supported')
xlrd.biffh.XLRDError: Excel xlsx file; not supported
Process finished with exit code 1
(xlrd is already installed package)
why the error?