[New-bugs-announce] [issue7219] Unhelpful error message when a distutils package install fails due to a permissions error

Michael Foord report at bugs.python.org
Tue Oct 27 13:37:51 CET 2009


New submission from Michael Foord <michael at voidspace.org.uk>:

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

----------
assignee: tarek
keywords: 26backport
messages: 94554
nosy: michael.foord, tarek
priority: normal
severity: normal
stage: needs patch
status: open
title: Unhelpful error message when a distutils package install fails due to a permissions error
type: behavior
versions: Python 2.6, Python 2.7, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7219>
_______________________________________


More information about the New-bugs-announce mailing list