Python >> Tutoriel Python >  >> Python Tag >> NLTK

Erreur lors de l'installation de NLTK Python

Nltk lui-même est indépendant du système d'exploitation, mais le programme d'installation Windows msi ne l'est pas, il est spécifiquement destiné aux pythons 32 bits. Alternativement, vous pouvez utiliser pip pour installer nltk, qui installera le fichier source indépendant du système d'exploitation. Simplement en cmd , tapez ceci :

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