ERROR-raise LookupError(resource_not_found), 해결방법

CODEDRAGON Development/Python

반응형



 

 

에러 메시지

raise LookupError(resource_not_found)

raise LookupError(resource_not_found)

LookupError:

**********************************************************************

  Resource [93mpunkt[0m not found.

  Please use the NLTK Downloader to obtain the resource:

 

  [31m>>> import nltk

  >>> nltk.download('punkt')

  [0m

  For more information see: https://www.nltk.org/data.html

 

  Attempted to load [93mtokenizers/punkt/english.pickle[0m

 

  Searched in:

    - 'C:\\Users\\codedragon/nltk_data'

    - 'C:\\Python\\Python36\\nltk_data'

    - 'C:\\Python\\Python36\\share\\nltk_data'

    - 'C:\\Python\\Python36\\lib\\nltk_data'

    - 'C:\\Users\\codedragon\\AppData\\Roaming\\nltk_data'

    - 'C:\\nltk_data'

    - 'D:\\nltk_data'

    - 'E:\\nltk_data'

    - ''

**********************************************************************

 


 

 

 

 

 

해결방법

nltk 데이터 다운하기

https://codedragon.tistory.com/9626

 


반응형