Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

enter image description here

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.

like image 823
basavaraj_S Avatar asked Jun 27 '19 11:06

basavaraj_S


People also ask

How does PyCharm fix permission?

The PermissionError: [errno 13] permission denied error occurs when you try to access a file from Python without having the necessary permissions. To fix this error, use the chmod or chown command to change the permissions of the file so that the right user and/or group can access the file.

Why interpreter is not showing in PyCharm?

To the right of where you see "No Interpreters", there is a gear icon. Click the gear icon -> Click "Add...", then you can add the ones you need. Show activity on this post. In Linux, it was solved by opening PyCharm from the terminal and leaving it open.


1 Answers

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.

enter image description here

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.

enter image description here

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

enter image description here

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

enter image description here

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

like image 73
basavaraj_S Avatar answered Nov 05 '22 11:11

basavaraj_S