No Module Named 'matplotlib.artist'
Solution 1:
I also had similar problem, the below command solved the problem, run it in anaconda command prompt.
conda install matplotlib --force
source: https://github.com/matplotlib/matplotlib/issues/6771/
Solution 2:
Go to this location
~\AppData\Roaming\Python\Python37\site-packages\
There will be two folders named as
~atplotlib
and
matplotlib
Please rename ~atplotlib
to matplotlib
The system will ask you that there is another folder with the same name, so do you want to merge.
Select merge option.
In my case, this resolved the matter.
Solution 3:
I have done all steps including uninstalling, How to remove anaconda from windows completely?
using anaconda clean, completely removing all folder related to python in C:\Users\myusdername removing from path uninstall by anaconda
I just nopticed that the error says that AppData\Roaming\Python\Python37\site-packages\matplotlib\pyplot.py
I manually remove python form the AppData\Roaming\Python\Python37 r=then it works!!
Solution 4:
I face the same problem and I used the below command. Please use this command in Anaconda prompt.
>conda install matplotlib
Solution 5:
after upgrading Matplotlib check this as well
Go to this location
~\AppData\Roaming\Python\Python37\site-packages\
and check the folder name .. for some weird reason matplotlib is saved as ~atplotlib folder.
just rename ~atplotlib folder as matplotlib
Post a Comment for "No Module Named 'matplotlib.artist'"