Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Your problem probably is that you haven't <em>installed</em> python. Meaning that, if you are using Windows, you have not downloaded the installer for Windows, that you can find on the official Python website.</p> <p>In case you have, chances are that PyCharm cannot find your Python installation because its not in the default location, which is usually <code>C:\Python27</code> or <code>C:\Python33</code> (for me at least).</p> <p>So, if you <em>have</em> installed Python and it still gives this error, then there can be two things that have happened:</p> <ol> <li>You use a <code>virtualenv</code> and that <code>virtualenv</code> has been deleted or the filepath changed. In this case, you will have to find proceed to the next part of this answer.</li> <li>Your python installation is not in its default place, in which case you will need to find its location, and locate the <code>python.exe</code> file.</li> </ol> <p>Once you have located the necessary binaries, you will need to tell PyCharm were to look:</p> <ol> <li>Open your settings dialogue <kbd>CTRL</kbd> + <kbd>ALT</kbd> + <kbd>S</kbd></li> <li><p>Then you will need to type in <code>interpreter</code> in the search box:</p> <p><img src="https://i.stack.imgur.com/pXdOR.png" alt="enter image description here"></p></li> <li><p>As you can see above, you will need to go to <code>Project Interpreter</code> and then go to <code>Python Interpreter</code>. The location has been selected for you in the above image.</p></li> <li><p>To the side you will see a couple of options as icons, click the big <code>+</code> icon, then click on <code>local</code>, because your interpreter is on <em>this</em> computer.</p></li> <li><p>This will open up a dialogue box. Make sure to select the <code>python.exe</code> file of that directory, do not give pycharm the whole directory. It just wants the interpreter.</p></li> </ol>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload