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
It's not a problem, it's exactly the purpose of this option: hide
modules/packages installed in the system-wide site-packages directory
from the python path.
> I never understood why it's given in the first place.
Because nowadays many Linux distros come with some of TG's dependencies
installed as system packages, but with too old versions. easy_install
and friends do not always update them reliably when you install TG.
If you use the --no-site-packages option, up-to-date versions of these
packages will be installed in the virtualenv no matter what.
> 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.
There you have it.
Chris
True. I should have worded that differently: the instructions simply
mention it, without explaining the Consequences.
http://turbogears.org/2.0/docs/main/DownloadInstall.html
There is some discussion on the bottom about this - but who's reading
that, especially if everything is working?
Diez