Permission denied error in download nltk_data...

Dwight GoldWinde Dwight at GoldWinde.com
Wed Aug 19 08:57:00 CEST 2015


Please helpŠ

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)




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20150819/7b70d492/attachment.html>


More information about the Python-list mailing list