PyCharm doesn't detect interpreter

后端 未结 7 1685
天涯浪人
天涯浪人 2021-02-19 13:29

I\'m new to programming and just started a course on Python. I want to use PyCharm, so I downloaded and intalled it (v. 4.5, community edition). I had previously installed Pytho

7条回答
  •  爱一瞬间的悲伤
    2021-02-19 14:20

    I have had the exact same problem and was unable to find the solution until just now. Hopefully this works for anyone that was struggling with it.

    I went to the location of the Python 3.5 (32-Bit) in my C: Drive which it turns out is just a shortcut to the actual Python application, right click on it and select Open file location which should direct you to the application version of python - simply called 'python'. This is the .exe file that PyCharm was looking for to use as the interpreter.

    Now go to the configure interpreter menu in Pycharm and type in the file location of the actual python application. To get to mine I had to go to AppData/Local/Programs/Python/Python35-32. Click on the python.exe file and it should work.

    This is my first post here so if its formatted incorrectly or doesn't use the conventional terms - sorry. Let me know if the solution worked for anyone else with the problem or if I fluked it.

提交回复
热议问题