Why do I get an 'SDK seems invalid' error when setting up my Project Interpreter in PyCharm?

前端 未结 9 1872
生来不讨喜
生来不讨喜 2021-01-17 07:35

\"enter

I try to set up project interpteter Python 3.5 in Pycharm and get an SDK error

9条回答
  •  被撕碎了的回忆
    2021-01-17 08:10

    Operating system: Windows 10 / cygwin

    Desired Python: 2.7.14

    Error: "SDK seems invalid"

    My fix:

    1. Remove Python 64 bit version
      1. Install Python 32 bit version
      2. using the windows environment variable dialog set PY_HOME={somedrive}\{somepath}\Python27
        PYTHONPATH={somedrive}\{somepath}\Python27

    note: I guess it works since the errors I see are python generated eg "Traceback (most recent call last): File ..."

提交回复
热议问题