PyCharm : Failed to Create Interpreter Error occurred: Permission Denied - Windows 10

吃可爱长大的小学妹 提交于 2020-07-20 10:01:21

问题


I was facing an error while creating my new project on PyCharm community edition 2019.1.3

Please find my error in the below screenshot.

I searched online for the answer, surprisingly nothing worked. So I resolved the issue by myself. Hence I though of posting this Q&A. You can find the answer below.


回答1:


Even after I got this error, I simply pressed OK. However I was unable to run any program, because the IDE was telling me No interpreter found. Please find below image.

So I clicked on Configure Python interpreter

then, click on Project:yourProjectName >> Project Interpreter

Now we need to add the interpreter or IDE might have selected older Python version. So I clicked on +, and then again +.

Select the latest version, then click OK. Please find the below image.

After the selection of the latest version. Click Apply. Please find the below image:

After I clicked Apply, IDE automatically added the interpreter, and I am ready to CODE and run my programs :). Please find below final image.

If you have any questions please feel free to ask me here.




回答2:


You should just install Python not in 'Program Files' folder, try 'C:\Python\python35-32\' and everything will be fine



来源:https://stackoverflow.com/questions/56789724/pycharm-failed-to-create-interpreter-error-occurred-permission-denied-windo

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