mac pycharm配置 python

一、首先查看自己安装的python的路径

  在terminal运行 which python(which命令只是根据PATH环境变量找)

  例如:/usr/bin/python

二、设置python版本

  1> Pycharm - Preference - Build,Deployment - Python Console - Python interpreter 

  选择自己安装的

  2> Pycharm - Preference - Project:xxx - Python Interpreter  选择自己安装的

  

原文地址:https://www.cnblogs.com/mxh1099/p/5983463.html