Today(Mar 30, 2021) I upgraded matplotlib and seaborn package.
But, after that, I can't import matplotlib and seaborn package.
Whenever I tried importing matplotlib or seaborn, I got error messages like below.
How can I solve this problem?
(I used JupyterLab 3.0)
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-33-a0d2faabd9e9> in <module>
----> 1 import matplotlib.pyplot as plt
C:\dev\anaconda3\lib\site-packages\matplotlib\__init__.py in <module>
819 # triggering resolution of _auto_backend_sentinel.
820 rcParamsDefault = _rc_params_in_file(
--> 821 cbook._get_data_path("matplotlibrc"),
822 # Strip leading comment.
823 transform=lambda line: line[1:] if line.startswith("#") else line,
C:\dev\anaconda3\lib\site-packages\matplotlib\cbook\__init__.py in _get_data_path(*args)
478 if opened:
479 with fh:
--> 480 yield fh
481 else:
482 yield fh
AttributeError: module 'matplotlib' has no attribute 'get_data_path'