Skip to content Skip to sidebar Skip to footer

Python Failed To `import Nltk` In My Script But Works In The Interpreter

I figured out the reason, I named the original script file nltk.py, so python tried to import word_tokenize from the script file orz. Sorry for this silly mistake. I am trying to

Solution 1:

I figured out the reason, I named the original script file nltk.py, so python tried to import word_tokenize from the script file orz. Sorry for this silly mistake.


Post a Comment for "Python Failed To `import Nltk` In My Script But Works In The Interpreter"