On Wed, 19 Aug 2015 04:57 pm, Dwight GoldWinde wrote: > Please help > > Using this code: > > import nltk > nltk.download('maxent_treebank_pos_tagger¹) > > > I get this error: [...] > os.mkdir(download_dir) > > PermissionError: [Errno 13] Permission denied: > '/Users/dwightgoldwindex/nltk_data'
That's a permissions problem. Firstly, when you run this code, are you logged in as the "dwightgoldwindex" user? Note the "x" at the end of the directory name. Is that what you expect? Secondly, can you open a terminal and get a command line prompt? **NOT** a Python prompt: if you see the prompt ">>>" type "quit()" and enter. You should have a prompt $ or % or similar. At the prompt, type: whoami ls -ld /Users/dwightgoldwindex/ ls -ld /Users/dwightgoldwindex/nltk_data and hit Enter after each line. What results do you get? -- Steven -- https://mail.python.org/mailman/listinfo/python-list