Matplotlib throw errors and doesn't work when I try to import it
It seems like your package uninstall did not finish properly and something of that google package has been left behind.
You need to either move some of your source files at correct destination or uninstall anaconda and reinstall again.
I'm a newbie in programming and python (only 30 days). I've installed Anaconda and working in the Spyder IDE. Everything was going fine and have been adding packages as necessary while I was learning different things until now. Now, I'm getting an error when I'm trying to import Matplotlib. Can anyone advise me what to do in simple terms, please?

Error processing line 1 of
  C:\Anaconda\lib\site-packages\matplotlib-3.1.2-py3.7-nspkg.pth:
Traceback (most recent call last):
      File "C:\Anaconda\lib\site.py", line 168, in addpackage
        exec(line)
      File "", line 1, in 
      File "", line 580, in module_from_spec   AttributeError: 'NoneType' object has no attribute
  'loader'
Remainder of file ignored