我试图在.bashrc文件中别名Python。我输入这个命令是为了告诉Git在哪里找到Python可执行文件。
"python -version winpty“来自我的Git Bash,不幸的是,我收到了这个错误:
MINGW64 ~
$ python --version
winpty: error: cannot start '"C:/Program Files/WindowsApps/Microsoft.DesktopAppInstaller_1.4.3161.0_x64__8wekyb3d8bbwe/AppInstallerPythonRedirector.exe" --version': Access is denied. (error 0x5)如何正确地从Git Bash运行python?
谢谢。
发布于 2021-12-29 03:15:26
在Windows中搜索“应用程序执行别名”,并确保关闭了python.exe的Appl安装程序。样本截图
https://stackoverflow.com/questions/68113634
复制相似问题