1、選擇Project Interpreter中的Add的System Interpreter。 2、找到anaconda的安裝路徑,選擇anaconda3/python.app/Contents/MacOS/python即可。