使用Pycharm进行pandas导入错误

时间:2016-05-17 03:04:44

标签: python python-2.7 pandas pycharm

我有使用Pycharm导入pandas的问题,但是没有来自命令行的导入pandas问题,我认为这可能是因为我在Mac上安装了多个Python环境。想知道如何检查命令行,使用哪个Python环境 - 这样我就可以根据命令行使用的相同环境更改我的Pycharm环境。

BTW,更喜欢使用Python 2.7。

为方便起见,发布屏幕快照。

enter image description here

enter image description here

enter image description here

编辑-1,

发布我的PyCharm版本和解释器屏幕快照。

enter image description here enter image description here

编辑-2,

我只有文件菜单下的默认设置,没有项目被称为设置。

enter image description here

1 个答案:

答案 0 :(得分:1)

您必须在控制台和运行配置中设置要在pycharm中使用的正确python版本。

控制台配置 enter image description here

运行配置 enter image description here enter image description here