Windows 64中的python 3.6的nltk [英] nltk for python 3.6 in windows64

查看:117
本文介绍了Windows 64中的python 3.6的nltk的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是python的新手,我使用Windows 10并拥有python36,我基本上必须在项目中使用nltk,并且我基本上有两个问题.

I'm new to python, I'm using Windows 10 and have python36 and I basically have to use nltk for my project and i basically have two questions.

  • 1我听说自动下载了版本3+的pip,但是当我在命令提示符下键入pip install nltk时,即使我在高级设置中添加了其路径"C:\Users\dheeraj\AppData\Local\Programs\Python\Python36\Scripts\pip36",也在上面添加了ya,但仍收到以下错误在两种情况下,我尝试使用pip36和pip的路径都是相同的.

  • 1 I heard pip is automatically downloaded for versions 3+ but when I type pip install nltk in command prompt im getting the following error even though i added its path "C:\Users\dheeraj\AppData\Local\Programs\Python\Python36\Scripts\pip36" in advanced settings and ya in above path i tried pip36 and pip in both cases result is same.

'pip'不被识别为内部或外部命令,"

'pip' is not recognized as an internal or external command,"

  • 2在www.nltk.org中,我发现nltk适用于mac,uniix和Windows32,但不适用于Windows64,这是否意味着它不支持64位,或者我有什么办法安装nltk.

  • 2 In www.nltk.org I found nltk for mac, unix and windows32 but not for windows64 ,does that mean it doesnt support for 64bit or is there any way for me to install nltk.

    推荐答案

    我遇到了与您相同的问题,但是我偶然在我的python目录中找到了pip.exe,因此我使用CMD导航到了该目录并运行了命令pip install -U nltk并有效.

    I had the same problem as you, but I accidentally found pip.exe in my python directory, so I navigated to said directory with CMD and ran the command pip install -U nltk and it worked.

    这篇关于Windows 64中的python 3.6的nltk的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

  • 查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆