1. Tarek Ziadé
  2. distribute
  3. Issues
Issue #139 new

bootstrap.py errors out if a "future" version of Distribute (eg: distribute==dev) is installed

Sridhar Ratnakumar
created an issue

"python2.6 bootstrap.py -d" usually works fine, but today I noticed this error on Mac.

Some part in code is trying to create a directory that already exists.

{{{ install_dir /var/folders/Oq/OqXMUNQQE8iwWVizww3LJ++++TM/-Tmp-/tmpbahNGB 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 17] File exists: '/var/folders/Oq/OqXMUNQQE8iwWVizww3LJ++++TM/-Tmp-/tmpbahNGB'

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

/var/folders/Oq/OqXMUNQQE8iwWVizww3LJ++++TM/-Tmp-/tmpbahNGB

Perhaps your account does not have write access to this directory? If the installation directory is a system-owned directory, you may need to sign in as the administrator or "root" account. If you do not have administrative access to this machine, you may wish to choose a different installation directory, preferably one that is listed in your PYTHONPATH environment variable.

For information on other options, you may wish to consult the documentation at:

http://packages.python.org/distribute/easy_install.html

Please make the appropriate changes for your system and try again.

Traceback (most recent call last): File "bootstrap.py", line 107, in <module> ) == 0 AssertionError sridharr@whymac:~/code/mediaplayer > ls -ld /var/folders/Oq/OqXMUNQQE8iwWVizww3LJ++++TM/-Tmp-/tmpbahNGB drwx------ 2 sridharr staff 68 6 Apr 23:38 /var/folders/Oq/OqXMUNQQE8iwWVizww3LJ++++TM/-Tmp-/tmpbahNGB }}}