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

后端 未结 7 1515
天命终不由人
天命终不由人 2021-01-01 09:27

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 10:12

    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

提交回复
热议问题