[Distutils] setuptools error when using --prefix option, complains directory does not exist

hari jayaram harijay at gmail.com
Tue Mar 9 20:57:34 CET 2010


I am installing setuptools using the --prefix option it complains the
directory does not exist even though it does. The install works however when
I use the --instal-dir option as it recommends.

Thought I would pass this along

macbook-pro-17:~ hari$ sudo sh setuptools-0.6c11-py2.6.egg
error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the
installation directory:

    [Errno 2] No such file or directory:

The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:


This directory does not currently exist.  Please create it and try again, or
choose a different installation directory (using the -d or --install-dir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20100309/ce8c7ba2/attachment.html>

More information about the Distutils-SIG mailing list