'Cannot setup a Python SDK' in PyCharm project using virtualenv after OS reinstallation

后端 未结 7 1246
谎友^
谎友^ 2021-01-01 09:11

I re-installed windows and opened an existing Pycharm project and get the error \'SDK seems invalid\' in Settings > Project Interpreter.

The project interpreter path

7条回答
  •  忘掉有多难
    2021-01-01 09:50

    Nothing above worked for me

    I made a simple change , Hope it works for you too !!

    It happens due to conflict in storing python.exe , In my case it was in F:\ drive

    Solution :- Pycharm expects python.exe file to be present in some location , you can check that in project interpreter , it will show some default location where pycharm is searching to execute exe file , but issue is the exe file is not present at that location , so create the folder which pycharm was expecting to execute exe file and paste the downloaded exe file

    Hope it Works for you !!

    Happy Coding

提交回复
热议问题