Permission denied error in download nltk_data...

Dwight GoldWinde Dwight at GoldWinde.com
Fri Sep 4 06:50:11 EDT 2015


Please helpŠ(my apologizesŠI got a response to this before, but I CANNOT
find it now)Š

Using this code:

import nltk
nltk.download('maxent_treebank_pos_tagger¹)


I get this error:

[nltk_data] Downloading package maxent_treebank_pos_tagger to
[nltk_data]     /Users/dwightgoldwindex/nltk_data...
Traceback (most recent call last):
  File "test short.py", line 18, in <module>
    nltk.download('maxent_treebank_pos_tagger')
  File 
"/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packag
es/nltk/downloader.py", line 664, in download
    for msg in self.incr_download(info_or_id, download_dir, force):
  File 
"/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packag
es/nltk/downloader.py", line 549, in incr_download
    for msg in self._download_package(info, download_dir, force):
  File 
"/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packag
es/nltk/downloader.py", line 604, in _download_package
    os.mkdir(download_dir)

PermissionError: [Errno 13] Permission denied:
'/Users/dwightgoldwindex/nltk_data'


BIG SMILE...

Always, Dwight


www.3forliving.key.to (video playlist on YouTube)
www.couragebooks.key.to (all my books on Amazon)


-- https://mail.python.org/mailman/listinfo/python-list


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20150904/9039b9a5/attachment.html>


More information about the Python-list mailing list