Michael Foord <mich...@voidspace.org.uk> added the comment: This problem showed up when installing a package with IronPython, where the site-packages folder requires admin privileges to write to (which *should* be true with CPython Windows but isn't).
If you perform a 'python setup.py install' without admin privileges the install fails (as it should) but with a very cryptic error message: C:\compile\test\foo-1.0>"C:\Program Files\IronPython 2.6\ipy.exe" setup.py install running install running build running build_py creating build creating build\lib copying foo.py -> build\lib running install_lib copying build\lib\foo.py -> C:\Program Files\IronPython 2.6\Lib\site-packages error: C:\Program Files\IronPython 2.6\Lib\site-packages\foo.py: None ---------- nosy: -DinoV, brian.curtin, tarek resolution: accepted -> status: closed -> open title: distutils and IronPython compatibility -> Unhelpful error message when a distutils package install fails due to a permissions error _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7071> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com