Using WinPython as Interpreter for PyCharm

2019-02-26 02:52发布

问题:

sorry for a simple question! I want to use WinPython (recently installed) as a interpreter for PyCharm Community Edition but am getting an error

"The selected file is not a valid home for Python SDK"

(see image)

Does anybody have any idea of what the issue may be? Do I have to do any other steps (with the path, etc.)?

回答1:

You need to select the folder where a python.exe (and possibly pythonw.exe) exists, which looks like maybe the python-3.4.4.amd64 folder

And, according to this answer

open PyCharm and add a new python interpreter giving the path of where you installed Winpython to (the python-... subirectory).