Error installing Python NLTK

I am trying to install NLTK ( https://pypi.python.org/pypi/nltk ). I have Python 3.6 installed on my Windows 10 (64-bit) computer. When I run the NLTK installer, I get the following error:

"Requires Python -32 version that is not found in the registry"

Does anyone have any experience with this or know how to resolve a mistake?

+6
source share
2 answers

Nltk itself is independent of the OS, but the Windows installer msi is not, it is specifically for 32-bit pythons. Alternatively, you can use pip to install nltk, which will install the independent os source file. Just in cmd enter the following:

 pip3 install nltk # pip/pip3 doesn't matter only if there multiple pythons, but if that does not work (command not found) type: py -3 -m pip install nltk 
+7
source

This works for me: py -m pip install nltk

+1
source

Source: https://habr.com/ru/post/1266795/


All Articles