Permission Denied error: Python 3.8 on Windows Gitbash

半世苍凉 提交于 2020-07-09 14:52:13

问题


New to Python. I get the following error on doing a python --version on my GitBash. ...Appdata/Local/Microsoft/WindowsApps/python3: Permission Denied

Based on some answers on this forum I turned off the App execution aliases for python. Doing this deleted the two "stubs" python.exe and python3.exe from my Windows App folder and resulted in another error of No such file or directory to my python --version on GitBash.

I am a novice to python so it gets annoying to be stuck at the installation itself. What am I missing here ???

It's December and all these updates from Microsoft I assume has still not fixed this issue. Or?


回答1:


Solved: Python commands won't work on mintty. I did a python -i to enter the python mode Another option is to do a 'winpty python.exe'



来源:https://stackoverflow.com/questions/59487242/permission-denied-error-python-3-8-on-windows-gitbash

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