Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I found <a href="http://old.nabble.com/Windows:-virtualenv-and-pywin32--td27658201.html" rel="noreferrer">http://old.nabble.com/Windows:-virtualenv-and-pywin32--td27658201.html</a> (now a dead link) which offered the following solution:</p> <ol> <li>Browse <a href="http://sourceforge.net/projects/pywin32/files/" rel="noreferrer">http://sourceforge.net/projects/pywin32/files/</a> for the URL of the exe you want</li> <li>Activate your virtualenv</li> <li>Run <code>easy_install http://PATH.TO/EXE/DOWNLOAD</code></li> </ol> <p>This works with modern versions of setuptools (circa February 2014, reported by tovmeod in the comments).</p> <hr> <p>If you are using an old version of setuptools (or distribute it merged back into setuptools), you may get this error message:</p> <blockquote> <p>error: c:\users\blah\appdata\local\temp\easy_install-ibkzv7\pywin32-214.win32-py2.6.exe is not a valid distutils Windows .exe</p> </blockquote> <p>In which case:</p> <ol> <li>Download the exe yourself</li> <li>Activate your virtualenv</li> <li>Run <code>easy_install DOWNLOADED_FILE.exe</code></li> </ol> <hr> <p>I rather hopefully tried "pip install" rather than "easy_install", but this didn't work, and likely never will (citation needed).</p> <hr> <p>Finally, I found but haven't tested a solution at <a href="http://www.mail-archive.com/python-list@python.org/msg272040.html" rel="noreferrer">http://www.mail-archive.com/python-list@python.org/msg272040.html</a> which is:</p> <blockquote> <p>Solved this by copying the pywin32.pth file into my virtualenv site-packages and editing the file to point to the path.</p> </blockquote> <p>If the other options don't work for you, maybe this will?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload