I am using currently the latest version of PyCharm and python 2.7 (Home brew). I set python version in PyCharm like this:
However, when I run codes in the same project:
I get output like this:
Why is that? And how can I config the right Python?
You shouldn't be using which python to find out which python you're using.
Try this instead: