i installed python3.5.1 with pyenv. Then i selected pyenv-directry-path for the interpreter, but the error occurred.
it said that
Cannot set up a python SDK at /Users/[myname]/.pyenv/versions/3.5.1/bin/python.
The SDK seems invalid.
then, after pressing `OK` and `Create` button to generate the new project files, there is another error massage in the `Python Console` window; it said,
/Users/[myname]/.pyenv/versions/3.5.1/bin/python /Applications/PyCharm.app/Contents/helpers/pydev/pydevconsole.py 58123 58124
Failed to import the site module
Your PYTHONPATH points to a site-packages dir for Python 2.x but you are running Python 3.x!
PYTHONPATH is currently: "/Applications/PyCharm.app/Contents/helpers/pydev"
You should `unset PYTHONPATH` to fix this.
Process finished with exit code 1
Couldn't connect to console process.
i don't know why it happens, but the same error message was shown when i execute python3.5.1 on the Terminal (it works.)
Does anyone have an idea to solve this problem?