title: pip how to remove incorrectly installed package with a leading dash: "-pkgname"
body: <p>After running <code>pip freeze</code> I noticed the following warning on top of the list:</p>
  <pre><code>WARNING: Could not parse requirement: -atplotlib
  </code></pre>
  <p>So I checked the installed packages using <code>pip list</code>, and indeed the following is considered a package:</p>
  <pre><code>Package         Version
  --------------- -------
  -atplotlib      3.0.3
  </code></pre>
  <p>I assume I probably had a typo when installing/upgrading <code>matplotlib</code>, which led to the aforementioned &quot;package&quot; being installed.</p>
  <p>But I am not able to remove it as <code>pip uninstall -atplotlib</code> is read as a command and returns the following error:</p>
  <pre><code>No such option: -a
  </code></pre>
  <p>I found the following folders:</p>
  <pre><code>C:\Users\name\Anaconda3\Lib\site-packages\~atplotlib
  
  C:\Users\name\Anaconda3\Lib\site-packages\~atplotlib-3.0.3-py3.7.egg-info
  </code></pre>
  <p>Is it safe, and sufficient, to remove them?</p>