title: problems in pip install and matplotlib library installation
body: <p>to install matplotlib library its recomended uses this base:</p>
  <pre><code>python -m pip install -U pip
  python -m pip install -U matplotlib
  </code></pre>
  <p>when I execute the following code:</p>
  <p><code>(base) C:\WINDOWS\system32&gt;python -m pip install -U pip</code></p>
  <p>results in this warning:</p>
  <pre><code> WARNING: Ignoring invalid distribution -atplotlib (c:\programdata\anaconda3\lib\site-packages)
   WARNING: Ignoring invalid distribution -atplotlib (c:\programdata\anaconda3\lib\site-packages)
   Requirement already satisfied: pip in c:\programdata\anaconda3\lib\site-packages (22.0.4)
   WARNING: Ignoring invalid distribution -atplotlib (c:\programdata\anaconda3\lib\site-packages)
   WARNING: Ignoring invalid distribution -atplotlib (c:\programdata\anaconda3\lib\site-packages)
   WARNING: Ignoring invalid distribution -atplotlib (c:\programdata\anaconda3\lib\site-packages)
  </code></pre>
  <p>so with <code>-U matplotlib</code> do:</p>
  <pre><code>WARNING: Ignoring invalid distribution -atplotlib (c:\programdata\anaconda3\lib\site-packages)
  WARNING: Ignoring invalid distribution -atplotlib (c:\programdata\anaconda3\lib\site-packages)
  Requirement already satisfied: matplotlib in c:\programdata\anaconda3\lib\site-packages (3.5.1)
  Requirement already satisfied: numpy&gt;=1.17 in c:\programdata\anaconda3\lib\site-packages (from matplotlib) (1.20.1)
  Requirement already satisfied: kiwisolver&gt;=1.0.1 in c:\programdata\anaconda3\lib\site-packages (from matplotlib) (1.3.1)
  Requirement already satisfied: pyparsing&gt;=2.2.1 in c:\programdata\anaconda3\lib\site-packages (from matplotlib) (2.4.7)
  Requirement already satisfied: packaging&gt;=20.0 in c:\programdata\anaconda3\lib\site-packages (from matplotlib) (20.9)
  Requirement already satisfied: fonttools&gt;=4.22.0 in c:\programdata\anaconda3\lib\site-packages (from matplotlib) (4.29.1)
  Requirement already satisfied: pillow&gt;=6.2.0 in c:\programdata\anaconda3\lib\site-packages (from matplotlib) (8.2.0)
  Requirement already satisfied: cycler&gt;=0.10 in c:\programdata\anaconda3\lib\site-packages (from matplotlib) (0.10.0)
  Requirement already satisfied: python-dateutil&gt;=2.7 in c:\programdata\anaconda3\lib\site-packages (from matplotlib) (2.8.1)
  Requirement already satisfied: six in c:\programdata\anaconda3\lib\site-packages (from cycler&gt;=0.10-&gt;matplotlib) (1.15.0)
  WARNING: Ignoring invalid distribution -atplotlib (c:\programdata\anaconda3\lib\site-packages)
  WARNING: Ignoring invalid distribution -atplotlib (c:\programdata\anaconda3\lib\site-packages)
  WARNING: Ignoring invalid distribution -atplotlib (c:\programdata\anaconda3\lib\site-packages)
  </code></pre>
  <p>and lastly, when I execute <code>import matplotlib.pyplot as plt</code> resuts in:</p>
  <pre><code>AttributeError                            Traceback (most recent call last)
  &lt;ipython-input-5-310f65eff20b&gt; in &lt;module&gt;
        1 import networkx as nx
  ----&gt; 2 import matplotlib.pyplot as plt
        3 import pandas as pd
  
  C:\ProgramData\Anaconda3\lib\site-packages\matplotlib\__init__.py in &lt;module&gt;
      875 # triggering resolution of _auto_backend_sentinel.
      876 rcParamsDefault = _rc_params_in_file(
  --&gt; 877     cbook._get_data_path(&quot;matplotlibrc&quot;),
      878     # Strip leading comment.
      879     transform=lambda line: line[1:] if line.startswith(&quot;#&quot;) else line,
  
  C:\ProgramData\Anaconda3\lib\site-packages\matplotlib\cbook\__init__.py in _get_data_path(*args)
      478     return a file object, otherwise just a file path.
      479 
  --&gt; 480     Sample data files are stored in the 'mpl-data/sample_data' directory within
      481     the Matplotlib package.
      482 
  
  AttributeError: module 'matplotlib' has no attribute 'get_data_path' 
  </code></pre>
  <p>I don't know what to do, hope you can help me.</p>