2017-08-04 100 views

回答

0

也許你沒有權利寫在數據被默認存儲目錄?

如果是這種情況,則可以將NLTK_DATA環境變量設置爲described in the documentation,以選擇具有所需權限的位置。

你可以嘗試這樣的事:

NLTK_DATA=/home/user/nltk_data python -m textblob.download_corpora 
相關問題