相关文章推荐
绅士的创口贴  ·  震惊! ...·  1 月前    · 
被表白的橙子  ·  使用Python ...·  1 月前    · 
大鼻子的鸡蛋  ·  一样_百度百科·  4 月前    · 
瘦瘦的伤痕  ·  维生素_百度百科·  4 月前    · 
另类的热水瓶  ·  Part No. 270021, Cast ...·  5 月前    · 

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'.
  •