What is "pkg-resources==0.0.0" in output of pip freeze command
<p>When I run <code>pip freeze</code> I see (among other expected packages) <code>pkg-resources==0.0.0</code>. I have seen a few posts mentioning this package (including <a href="https://stackoverflow.com/questions/38992194/why-does-pip-freeze-list-pkg-resources-0-0-0">this one</a>), but none explaining what it is, or why it is included in the output of <code>pip freeze</code>. The main reason I am wondering is out of curiosity, but also, it seems to break things in some cases when trying to install packages with a <code>requirements.txt</code> file generated with <code>pip freeze</code> that includes the <code>pkg-resources==0.0.0</code> line (for example when <a href="https://travis-ci.org/" rel="noreferrer">Travis CI</a> tries to install dependencies through <code>pip</code> and finds this line).</p>
<p><strong>What is <code>pkg-resources</code>, and is it OK to remove this line from <code>requirements.txt</code>?</strong></p>
<h1>Update:</h1>
<p>I have found that this line only seems to exist in the output of <code>pip freeze</code> when I am in a <code>virtualenv</code>. I am still not sure what it is or what it does, but I will investigate further knowing that it is likely related to <code>virtualenv</code>.</p>