[Distutils] setuptools

Peter Hodges phodges at id.iit.edu
Thu May 28 23:49:40 CEST 2015

Newbie to Python
Goal try to use NLTK

Mac OSX 10
I downloaded and installed python 3.5

Next I went to the NLTK site.
It has instructions about easy_install and setup tools.

I went to the Linux and Mac OS line:

curl https://bootstrap.pypa.io/ez_setup.py -o - | python

I entered this in a terminal window:

curl https://bootstrap.pypa.io/ez_setup.py -o - | python

  % Total    % Received % Xferd  Average Speed   Time    Time     Time

                                 Dload  Upload   Total   Spent    Left

100 11432  100 11432    0     0  49709      0 --:--:-- --:--:-- --:--:--


Extracting in /var/folders/fy/c6gf5sxx7px6p0tyj9ks3dw80000gn/T/tmpI86dYV

Now working in

Installing Setuptools

running install

Checking .pth file support in /Library/Python/2.7/site-packages/

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 13] Permission denied:

The installation directory you specified (via --install-dir, --prefix, or

the distutils default setting) was:


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


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

documentation at:


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

Something went wrong during the installation.

See the error message above.

I looked at the PATH variable:

dhcp127-219:~ phodges$ echo $PATH


dhcp127-219:~ phodges$

I would appreciate any suggestions on how to proceed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20150528/f0a4eb1e/attachment.html>

More information about the Distutils-SIG mailing list