[IronPython] Default install location and site-packages
fuzzyman at voidspace.org.uk
Tue Oct 6 04:45:27 PDT 2009
The msi installer installs by default into "C:\Program Files\IronPython
2.6". It also creates a "Lib\site-packages" folder.
Presumably the intention is that site-packages is for installed modules
/ packages, however "Program Files" is a special location and normal
users (Vista / Windows 7) *can't* create files there. This means that
distutils *must* be run with elevated permissions to install into this
It doesn't work anyway because distutils attempts to bytecode-compile,
which unsurprisingly fails with IronPython - but that bug in distutils
will be fixed shortly.
I don't have an obvious solution (per user site-packages perhaps?) but
present the problem. Python circumvents this problem by *not* installing
into "Program Files".
All the best,
More information about the Users