Reputation: 10139
I have issues of import pandas using Pycharm, but no issue of import pandas from command line, and I thought it might be caused by I installed multiple Python environment on my Mac. Wondering how to check on command line, which Python environment is used -- so that I can change my Pycharm environment according to the same environment which command line is using.
BTW, prefer to use Python 2.7.
Post screen snapshot for convenience.
Edit-1,
Post my PyCharm version and interpreter screen snapshot.
Edit-2,
I only have Default Setting under File menu, no item is called Setting.
Upvotes: 3
Views: 1452
Reputation: 7306
You have to set proper python version that you want to use in pycharm at both console and run configurations.
Upvotes: 1