Getting An Error "no Module Named 'internals' On Running A Python Code On Windows 8
I recently installed Python 3.4.1 on Windows 8 and ran a code which gave me the error below. What steps should I follow to get rid of this error? Is there a link to install the me
Solution 1:
Update: NLTK 3.0.0b1 was released on July 11th, 2014 (two days after this question, go figure), adding support for Python 3.2 and up.
My original answer follows:
NLTK does not yet support Python 3:
NLTK requires Python versions 2.6-2.7.
You can download an alpha release at http://www.nltk.org/nltk3-alpha/
The import expects to find internals
relative to the ntlk
package, but Python 3 removed support for such (ambiguous) relative imports. Most likely, this will not be the only problem when running NLTK (other that the 3.0 alpha release) under Python 3.
Post a Comment for "Getting An Error "no Module Named 'internals' On Running A Python Code On Windows 8"