PyCharm doesn't detect interpreter

后端 未结 7 1707
天涯浪人
天涯浪人 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:24

    file > new project settings > project Interpreter > click in the drop down and select 'show all' > click the '+' button >

    Now, in the Virtualenv Environment tab under the New environment radio button, check the path in the 'Base interpreter:' field. For me, mine was set to an invalid path. Once I had corrected the path to point to python.exe I recreated my new project and PyCharm built the virtualenv.

    For me there was a bit more too.... When creating the new project I expanded the drop down and had to verify the directory where the venv directory was being created. Once I had corrected the path here I had to click around a bit to get it to let me create the project.

    I'm going to chaulk this up to a bug. I'm using Community edition.

    0 讨论(0)
提交回复
热议问题