无法使用pip安装nltk [英] Unable to install nltk using pip
问题描述
我无法安装nltk.我已经安装了Python.
Hi I am unable to install nltk. I have already install Python.
C:\ Users> pip install nltk
C:\Users>pip install nltk
下载/解压缩nltk 无法获取索引库URL https://pypi.python.org/simple/ 找不到满足nltk要求的任何下载 打扫干净... 找不到nltk的分布 将失败的调试日志存储在C:\ Users \ pinnapav \ pip \ pip.log
Downloading/unpacking nltk Cannot fetch index base URL https://pypi.python.org/simple/ Could not find any downloads that satisfy the requirement nltk Cleaning up... No distributions at all found for nltk Storing debug log for failure in C:\Users\pinnapav\pip\pip.log
推荐答案
尝试使用命令py -m pip install --upgrade nltk
!这可以在我的计算机上运行,并且具有相同的基本Python安装.
Try to use the command py -m pip install --upgrade nltk
! This worked on my computer, with the same, basic Python-Installation.
现在您可以将其标记为已回答^-^
Now you can mark as Answered ^-^
这篇关于无法使用pip安装nltk的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!