[Distutils] Unexpected error <python setup.py install_data --root /tmp>

David Cournapeau cournape at gmail.com
Fri May 28 08:16:31 CEST 2010

On Fri, May 28, 2010 at 11:12 AM, Kent Tenney <ktenney at gmail.com> wrote:
> In a docutils svn checkout.
> [docutils/trunk/docutils]$ python setup.py install --root /tmp
> OK
> [docutils/trunk/docutils]$ python setup.py install_data --root /tmp
> distutils.errors.DistutilsFileError:
> could not delete
> '/usr/local/lib/python2.6/dist-packages/docutils/parsers/rst/include/README.txt':
> Permission denied

Well, do you have writing permision in that directory ? Generally, you
need admin priviledges to write anything in  /usr/local, and tmp is
writable by anyone,


More information about the Distutils-SIG mailing list