简体   繁体   English

无法运行程序“/../../python.exe”(在目录“/PythonSoftwareFoundation.Python.3.8_3.8.240.0_x64__qbz5n2kfra8p0”中):访问被拒绝

[英]Cannot run program “/../../python.exe” (in directory “/PythonSoftwareFoundation.Python.3.8_3.8.240.0_x64__qbz5n2kfra8p0”):Access is denied

I'm getting this error anytime when creating a new project in pycharm:在 pycharm 中创建新项目时,我随时都会收到此错误:

Cannot run program "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.240.0_x64__qbz5n2kfra8p0\python.exe" (in directory "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.240.0_x64__qbz5n2kfra8p0"): CreateProcess error=5, Access is denied Cannot run program "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.240.0_x64__qbz5n2kfra8p0\python.exe" (in directory "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.240.0_x64__qbz5n2kfra8p0" ): CreateProcess 错误=5,访问被拒绝

I have Python 3.8 installed from Windows Store but when I try to create the project it says "Choose another SDK"我从 Windows 商店安装了 Python 3.8,但是当我尝试创建项目时,它显示“选择另一个 SDK”

It seems like a fairly common issue but since I'm new to Python I'm not really sure what it involves.这似乎是一个相当普遍的问题,但由于我是 Python 的新手,我不太确定它涉及什么。

Try installing Python 3 from the actual Python Webpage.尝试从实际的 Python 网页安装 Python 3。

The windows store version may be confusing pycharm by storing/sorting the.py files in an odd way. windows 存储版本可能会通过以奇怪的方式存储/排序 .py 文件来混淆 pycharm。 Could also be a PATH issue due to windows store version etc.由于 windows 商店版本等,也可能是 PATH 问题。

Hope this helps!希望这可以帮助!

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

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