Friday, 15 April 2011

python - How can I use pywin32 with a virtualenv without having to include the host environment's site-packages folder? -


I am working with Python 2.6 which is partly supported due to the messenger that was revealed by MS Which now affects Python as it is now compiled by MSVC 8.

The problem is that the manifest depends on the embedding support extension, so that can be a pain because the host site-package is created without the folder (Kinda beat the point in a built environment) I installed the required extension Can not find a way to do so that they are accessible to PyInstaller.

Has anyone got the solution to this issue?

I found (now a dead link) that offered the following solution:

  1. Browse for the URL of the excel
  2. Activate your VirtualEngine
  3. Play easy_install http://PATH.TO/EXE/ DOWNLOAD

    This setup works with the latest versions of Autolocks (approximately February 2014, reported by Tovemed in comments).


    If you are using an earlier version of SetupOut or merged it back into Setup Tools), you may receive this error message:

    Error: c: \ users \ blah \ appdata \ local \ temp \ easy_install-ibkzv7 \ pywin32-214.win32 -py2.6.exe A legitimate distutils Windows. Exe

    In case that is not:

    1. Exe download yourself
    2. Activate your VirtualEngine < Li> Trying to run easy_install DOWNLOADED_FILE.exe

    I hope you try "Pip installation" instead of "easy_install" but this work Never, and will never happen (CI Finally, I found, but did not test the solution on which:

    Resolve it in my copy of the pywin32.pth file Virtualenv site -packages and paths Edit the file to indicate.

    If other options do not work for you, then maybe it will?


No comments:

Post a Comment