python - 我似乎无法从终端访问某些功能
问题描述
首先,我不是技术天才,所以如果我说的是愚蠢的话,一定要让我知道。我遇到的问题是,当我尝试为 Python 或 GoLang 运行特定命令时,我必须首先选择其特定目录:
Microsoft Windows [Version 10.0.19043.1110]
(c) Microsoft Corporation. All rights reserved.
C:\Users\(Redacted)>python --version
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
C:\Users\(Redacted)>cd C:\Users\Uday_Randhawa\AppData\Local\Programs\Python\Python39
C:\Users\(Redacted)\AppData\Local\Programs\Python\Python39>python --version
Python 3.9.0
我不知道是什么原因造成的,但希望得到任何帮助,甚至在哪里发布。提前致谢。
解决方案
推荐阅读
- java - Eclipse - YAML 错误:需要一个“字符串”但有一个“映射”节点
- vbscript - 在 VBScript 中使用 AND 运算符在两个数字之间计算什么?
- image - 如何使用 Matlab 将图像裁剪成重叠的补丁?
- c++ - 在 C++ 中使用向量时,我是如何在这里遇到分段错误的?
- html - 为什么我不能使用复选框动画汉堡菜单栏更改为 X?
- julia - Julia:跨观察张量广播成对距离计算
- android - 在 kotlin 和 android 项目上使用 gradle 有什么好处?
- javascript - 如何从 ReactJS 中的 400 http 响应中获取响应数据
- postgresql - 将 PostgreSQL 与 PyQt5 一起使用的正确方法是什么
- graphql - hasura cli-migrations-v2 未能应用元数据:无法在数据库上应用元数据:[parse-failed] 预期 1 或 2,遇到 0 ($[1].version)