Michael Pearce schrieb: > I'm having problems installing the win32com functions for my TG2 > application. When I try to run the binary (pywin32) from within the > virtual environment (tg2env) it seems to add the module to the python26 > site-packages directory, and not the virtual environment directory. As a > result, I'm unable see the win32com functions from my turbogears > application. Is there some way to easy_install pywin32 instead of > running the binary?
This is a problem of the suggestion to use --no-site-packages. I never understood why it's given in the first place. If you create the VE without that option, you can import win32 without a hitch. Of course, you need to make sure that none of the TG2-packages and it's dependencies is already in the system python's path. Diez --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

