Error installing NLTK: Python version -32 required, which was not found in the registry.

1,430 views
Skip to first unread message

Bas Hollander

unread,
Oct 23, 2017, 12:18:05 PM10/23/17
to nltk-users
I'm running Python version 3.6. When I try to install NLTK I get an error: Python version -32 required, which was not found in the registry.

I found somewhere to change the PythonCore name in the registry to 3.6, but that didn't do the trick. My guess is that the NLTK installer is looking in the wrong place in the registry or Python installed in the wrong palce in the registry, but either way, if anyone has a solution or suggestions, please let me know...

Duane Hettich

unread,
Mar 5, 2018, 4:40:51 PM3/5/18
to nltk-users
I'm also wondering if someone can help with this problem.  I've tried various Python versions and keep getting the same error message when trying to install nltk-3.2.5.win32.exe (md5)

Tom Fraatz

unread,
Mar 16, 2018, 8:38:26 PM3/16/18
to nltk-users
+1. I installed python 3.5.0 (32-bit) and get the same error message.

Irina Lobzhanidze

unread,
Mar 17, 2018, 1:48:53 AM3/17/18
to nltk-...@googlegroups.com
You can avoid this error message by installing the NLTK from the Windows command line (CMD prompt) with "pip install nltk".
Sincerely,

--
You received this message because you are subscribed to the Google Groups "nltk-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nltk-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



rwsha...@gmail.com

unread,
Apr 14, 2018, 8:44:52 AM4/14/18
to nltk-users
I get the same error message using Python 3.5.2. Ive put everything in the same directory, AND i tried the Windows command line "pip install nltk".  Then, I get an error for "pip not recognized".  I've spent countless hours already trying many different forms of Python that the docs say to use with the nltk package...TOTALLY fustrated with it.
To unsubscribe from this group and stop receiving emails from it, send an email to nltk-users+...@googlegroups.com.

Dimitriadis, A. (Alexis)

unread,
Apr 14, 2018, 8:53:07 AM4/14/18
to <nltk-users@googlegroups.com>
I can understand your frustration, but you should have realized that your problem is no longer with the nltk, but with pip. 

Since you have Python 3.5, pip should be already installed your your computer (see here: https://pip.pypa.io/en/stable/installing/).
 
You are probably not finding any of the Python executables in your commandline PATH (either you didn't configure this during installation, or you need to restart your computer.) In the CMD window, change directories to the folder containing Python.exe. It probably also contains pip.exe (or whatever the extension is). So, try "pip install nltk" in this directory. If it doesn't work, look for general help on finding and using pip.



Alexis

Dr. Alexis Dimitriadis | Assistant Professor and Senior Research Fellow | Utrecht Institute of Linguistics OTS | Utrecht University | Trans 10, 3512 JK Utrecht, room 2.33 | +31 30 253 65 68 | a.dimi...@uu.nl | www.hum.uu.nl/medewerkers/a.dimitriadis

Rob Shaw

unread,
Apr 15, 2018, 3:00:23 AM4/15/18
to nltk-...@googlegroups.com
OK!  Finally got it to work!  I had just upgraded to Windows 10 and its directory structure had me completely confused.  I ended up having to PATH the main Python directory and all its subdirectories before the Command prompt could find everything.  I had to import the modules from python.org.

The executable download nltk.3.5.win32.exe never did recognize the python install no matter what.

Thanks for the tips, Alexis.

Rob

Virus-free. www.avast.com

On Sat, Apr 14, 2018 at 3:43 PM, Rob Shaw <rwsha...@gmail.com> wrote:
Alexis,  the only executable that installs from the python .org website is Python35.exe.  And I'm running the command she'll in the same directory as python and nltk. 

Rob

Alexis
To unsubscribe from this group and stop receiving emails from it, send an email to nltk-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "nltk-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nltk-users+unsubscribe@googlegroups.com.

Dimitriadis, A. (Alexis)

unread,
Apr 15, 2018, 3:03:04 AM4/15/18
to <nltk-users@googlegroups.com>
Glad to hear you got it to work. Yeah, the executable installer has always been a source of problems. I don't understand why it's still available, when the pip route is so much more reliable. The "convenience" of a click-and-go installer clearly isn't living up to the promise.

Alexis



Dr. Alexis Dimitriadis | Assistant Professor and Senior Research Fellow | Utrecht Institute of Linguistics OTS | Utrecht University | Trans 10, 3512 JK Utrecht, room 2.33 | +31 30 253 65 68 | a.dimi...@uu.nl | www.hum.uu.nl/medewerkers/a.dimitriadis
Reply all
Reply to author
Forward
0 new messages