After hours of searching, it was finally solved
If it is Python 2.7, the required nltk version is 3.0
pip install nltk==3.0
Original text: https://stackoverflow.com/questions/61560956/invalid-syntax-on-importing-nltk-in-python-2-7
After hours of searching, it was finally solved
If it is Python 2.7, the required nltk version is 3.0
pip install nltk==3.0
Original text: https://stackoverflow.com/questions/61560956/invalid-syntax-on-importing-nltk-in-python-2-7