简体   繁体   English

如何将Python添加到Windows注册表?

[英]How to add Python to Windows registry?

I want to work with Natural Language Toolkit, but I can't set up the software. 我想使用自然语言工具包,但是无法设置软件。 When I run it, it gives me an error message " Python version -32 required, which was not found in the registry " I'm using Windows 10, and my python is a 32-bit version. 当我运行它时,它给我一条错误消息“ 需要在注册表中找不到Python版本-32,我正在使用Windows 10,而我的python是32位版本。 I tried the solutions provided here but none worked. 我尝试了此处提供的解决方案,但没有一个有效。 What am I doing wrong? 我究竟做错了什么?

According to this Issue, Try this: 根据此问题,请尝试以下操作:

python -m pip install nltk

You can follow " Setting up Python 3.5 and numpy and matplotlibon your own Windows PC or laptop " document for install Python correctly on windows. 您可以按照“ 在自己的Windows PC或笔记本电脑上设置Python 3.5以及numpy和matplotlib ”文档中的说明在Windows上正确安装Python。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM