相关文章推荐
道上混的沙发  ·  [Day16] Python專案 - ...·  2 月前    · 
潇洒的硬币  ·  harperj1029 | Jason ...·  5 月前    · 
谦虚好学的跑步机  ·  microservices - Can ...·  2 年前    · 
干练的滑板  ·  FileZilla For Mac ...·  2 年前    · 

Colab pandas does not work #2591

@frabob2017

Description

Describe the current behavior
A clear and concise explanation of what is currently happening.

Describe the expected behavior
A clear and concise explanation of what you expected to happen.
Pandas module in Google colab does not work to open excel spreadsheet in google drive today.
pd.read_excel('*.xlsx') failed. Used to work well. show error.

/usr/local/lib/python3.7/dist-packages/pandas/compat/_optional.py in import_optional_dependency(name, extra, errors, min_version)
139 return None
140 elif errors == "raise":
--> 141 raise ImportError(msg)
143 return module

ImportError: Pandas requires version '3.0.0' or newer of 'openpyxl' (version '2.5.9' currently installed).

What web browser you are using
(Chrome, Firefox, Safari, etc.)
Chrome

Additional context
Link to a minimal, public, self-contained notebook that reproduces this issue.

  • Share the file using your GitHub account using File > Save a copy as a GitHub Gist.
  • or Share Drive notebooks using the Share button then 'Get Shareable Link'.
  •