Command "python setup.py egg_info" failed when installing a package
<p>I am trying to install a bunch of dependencies from the <code>requirements.txt</code> file of a cloned Django project. However, when it's trying to install one of them, <code>vobject-0.8.1c</code> the following error is displayed and none of the dependencies are installed:</p>

<blockquote>
  <p>Command "python setup.py egg_info" failed with error code 1 in
  c:\users\xxxxxx\appdata\local\temp\pip-build-n_0xlr\vobject\</p>
</blockquote>

<p>This is how I am trying to install these packages:</p>

<pre><code>pip install -r requirements.txt
</code></pre>

<p>I have spent hours trying to solve this problem. All the issues I see about it suggest installing or upgrading <code>setuptools</code> and <code>ez_setup</code>. I have done that and I still get the error, so the project keeps having a ton of missing dependencies.</p>

<p>I am on Windows.</p>

<p>What can I do? How can I install these dependencies?</p>

<p>Install <code>0.8.2</code>. It's first pip-installable version. All files is the same as in <code>0.8.1c</code> version, except:</p>

<p><strong>base.py</strong></p>

<pre><code>286a287,288
&gt;         for k,v in self.params.items():
&gt;             self.params[k] = copy.copy(v)
630,631c632,633
&lt;     def __init__(self, message, lineNumber=None):
&lt;         self.message = message
---
&gt;     def __init__(self, msg, lineNumber=None):
&gt;         self.msg = msg
637c639
&lt;                    (self.lineNumber, self.message)
---
&gt;                    (self.lineNumber, self.msg)
639c641
&lt;             return repr(self.message)
---
&gt;             return repr(self.msg)
956c958,960
&lt;         for key, paramvals in obj.params.iteritems():
---
&gt;         keys = sorted(obj.params.iterkeys())
&gt;         for key in keys:
&gt;             paramvals = obj.params[key]
</code></pre>

<p>and <strong>icalendar.py</strong></p>

<pre><code>428a429,440
&gt;                         
&gt;                         # RFC2445 actually states that UNTIL must be a UTC value. Whilst the
&gt;                         # changes above work OK, one problem case is if DTSTART is floating but
&gt;                         # UNTIL is properly specified as UTC (or with a TZID). In that case dateutil
&gt;                         # will fail datetime comparisons. There is no easy solution to this as
&gt;                         # there is no obvious timezone (at this point) to do proper floating time
&gt;                         # offset compisons. The best we can do is treat the UNTIL value as floating.
&gt;                         # This could mean incorrect determination of the last instance. The better
&gt;                         # solution here is to encourage clients to use COUNT rather than UNTIL
&gt;                         # when DTSTART is floating.
&gt;                         if dtstart.tzinfo is None:
&gt;                             until = until.replace(tzinfo=None)
476c488
&lt;             if hasattr(self.contents, name):
---
&gt;             if name in self.contents:
</code></pre>

<p>There should be no problems with the change of version.</p>

python django pip