Bonjour!
J'essaie d'installer la librairie NLTK pour Python 2.7 avec Windows 7 (64 bits).
Voici les instructions trouvées sur la page officielle (http://nltk.org/install.html) :
J'ai sauté l'étape 2 pour Numpy. À l'étape 3, j'ai téléchargé setuptools-0.6c11.win32-py2.7.exe. Mais le setup bloque en disant "Python version 2.7 required, which was not found in the registry." et ne me laisse pas l'opportunité d'entrer le bon chemin d'accès. J'ai essayé de déplacer l'application dans mon dossier Python27 qui est à la racine de mon disque dur, puis de la déplacer directement à la racine du disque dur et ça n'a rien changé.Source installation (for 32-bit or 64-bit Windows)
1. Install Python: http://www.python.org/download/releases/2.7.3/
2. Install Numpy (optional): http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy
3. Install Setuptools: http://pypi.python.org/packages/2.7/...in32-py2.7.exe
4. Install Pip: Start>Run... c:\Python27\Scripts\easy_install pip
5. Install PyYAML and NLTK: Start>Run... c:\Python27\Scripts\pip install pyyaml nltk
6. Test installation: Start>All Programs>Python27>IDLE, then type import nltk
Quelqu'un pourrait-il me guider?
Merci!
Partager