This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 2 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
问题出在您输入的命令上。这使得 Python 解释器认为您正在尝试运行一个名为
v
的脚本,而该脚本显然不存在。要检查版本,您应该:
python -V
python --version
。连字符后不应有空格。
The problem is with the command you've entered. This makes the Python interpreter think you're trying to run a script called
v
, which obviously doesn't exist.For checking the version, you should either:
python -V
python --version
.There should be no space after the hyphen.