简体   繁体   English

无法在 Windows 系统上下载 Python

[英]Unable to download Python on Windows System

I'm having trouble getting python to work on my Windows 10 computer.我无法让 python 在我的 Windows 10 计算机上工作。 I downloaded 3.5.2 off the website and ran the exe, but when I try to use我从网站上下载了 3.5.2 并运行了 exe,但是当我尝试使用时

pip install nltk

So I copied and ran get-pip.py, but it still tells me "pip" is not recognized as an internal or external command, operable program or batch file.所以我复制并运行了 get-pip.py,但它仍然告诉我“pip”不是内部或外部命令,也不是可运行的程序或批处理文件。

python -m pip install pip

tells me that python is also not recognized.告诉我 python 也无法识别。 What should I do?我该怎么办?

EDIT: Have tried reinstalling python, made sure the box to install pip was checked.编辑:尝试重新安装 python,确保选中安装 pip 的框。 Tried re-running the pip command in the Python command line (the one titled Python 3.5 (32-bit)) and it gave me an invalid syntax error on the word install.尝试在 Python 命令行(名为 Python 3.5(32 位))中重新运行 pip 命令,它在安装一词上给了我一个无效的语法错误。

When installing "the exe", make sure that you tick the checkbox labelled "Add Python 3.5 to PATH".安装“exe”时,请确保勾选标有“Add Python 3.5 to PATH”的复选框。 That will solve the issue you mentionned.这将解决您提到的问题。

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

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