Unable to install nltk using pip

☆樱花仙子☆ 提交于 2020-01-02 04:42:09

问题


Hi I am unable to install nltk. I have already install Python.

C:\Users>pip install nltk

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


回答1:


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 ^-^




回答2:


Try to update pip:

pip install --upgrade pip
pip install --upgrade nltk

Worked for me!



来源:https://stackoverflow.com/questions/46912501/unable-to-install-nltk-using-pip

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!