<div dir="ltr">Newbie to Python<div>Goal try to use NLTK<br><div><br></div><div>Mac OSX 10<div>I downloaded and installed python 3.5</div></div></div><div><br></div><div>Next I went to the NLTK site.</div><div>It has instructions about easy_install and setup tools.</div><div><br></div><div>I went to the Linux and Mac OS line:</div><div><br></div><div><p style="margin:0px;font-size:11px;font-family:Menlo">curl <a href="https://bootstrap.pypa.io/ez_setup.py">https://bootstrap.pypa.io/ez_setup.py</a> -o - | python</p><p style="margin:0px;font-size:11px;font-family:Menlo"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">I entered this in a terminal window:</p><p style="margin:0px;font-size:11px;font-family:Menlo"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">curl <a href="https://bootstrap.pypa.io/ez_setup.py">https://bootstrap.pypa.io/ez_setup.py</a> -o - | python</p><p style="margin:0px;font-size:11px;font-family:Menlo">  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current</p><p style="margin:0px;font-size:11px;font-family:Menlo">                                 Dload  Upload   Total   Spent    Left  Speed</p><p style="margin:0px;font-size:11px;font-family:Menlo">100 11432  100 11432    0     0  49709      0 --:--:-- --:--:-- --:--:-- 49921</p><p style="margin:0px;font-size:11px;font-family:Menlo">Downloading <a href="https://pypi.python.org/packages/source/s/setuptools/setuptools-16.0.zip">https://pypi.python.org/packages/source/s/setuptools/setuptools-16.0.zip</a></p><p style="margin:0px;font-size:11px;font-family:Menlo">Extracting in /var/folders/fy/c6gf5sxx7px6p0tyj9ks3dw80000gn/T/tmpI86dYV</p><p style="margin:0px;font-size:11px;font-family:Menlo">Now working in /var/folders/fy/c6gf5sxx7px6p0tyj9ks3dw80000gn/T/tmpI86dYV/setuptools-16.0</p><p style="margin:0px;font-size:11px;font-family:Menlo">Installing Setuptools</p><p style="margin:0px;font-size:11px;font-family:Menlo">running install</p><p style="margin:0px;font-size:11px;font-family:Menlo">Checking .pth file support in /Library/Python/2.7/site-packages/</p><p style="margin:0px;font-size:11px;font-family:Menlo">error: can't create or remove files in install directory</p><p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">The following error occurred while trying to add or remove files in the</p><p style="margin:0px;font-size:11px;font-family:Menlo">installation directory:</p><p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">    [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/test-easy-install-702.pth'</p><p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">The installation directory you specified (via --install-dir, --prefix, or</p><p style="margin:0px;font-size:11px;font-family:Menlo">the distutils default setting) was:</p><p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">    /Library/Python/2.7/site-packages/</p><p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">Perhaps your account does not have write access to this directory?  If the</p><p style="margin:0px;font-size:11px;font-family:Menlo">installation directory is a system-owned directory, you may need to sign in</p><p style="margin:0px;font-size:11px;font-family:Menlo">as the administrator or "root" account.  If you do not have administrative</p><p style="margin:0px;font-size:11px;font-family:Menlo">access to this machine, you may wish to choose a different installation</p><p style="margin:0px;font-size:11px;font-family:Menlo">directory, preferably one that is listed in your PYTHONPATH environment</p><p style="margin:0px;font-size:11px;font-family:Menlo">variable.</p><p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">For information on other options, you may wish to consult the</p><p style="margin:0px;font-size:11px;font-family:Menlo">documentation at:</p><p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">  <a href="https://pythonhosted.org/setuptools/easy_install.html">https://pythonhosted.org/setuptools/easy_install.html</a></p><p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">Please make the appropriate changes for your system and try again.</p><p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">Something went wrong during the installation.</p><p style="margin:0px;font-size:11px;font-family:Menlo">See the error message above.</p><p style="margin:0px;font-size:11px;font-family:Menlo"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">I looked at the PATH variable:</p><p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">dhcp127-219:~ phodges$ echo $PATH</p><p style="margin:0px;font-size:11px;font-family:Menlo">/Library/Frameworks/Python.framework/Versions/3.5/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin</p><p style="margin:0px;font-size:11px;font-family:Menlo">









































</p><p style="margin:0px;font-size:11px;font-family:Menlo">dhcp127-219:~ phodges$ </p></div><div><br></div><div>I would appreciate any suggestions on how to proceed.</div><div>Thanks,</div><div>Peter</div></div>