No module named 'pandas' in Pycharm

ElenaPhys picture ElenaPhys · Jul 14, 2016 · Viewed 64.4k times · Source

I read all the topics about, but I cannot solve my problem:

     Traceback (most recent call last):
     File "/home/.../.../.../reading_data.py", line 1, in <module>
     import pandas as pd
     ImportError: No module named pandas     

This is my environment:

Ubuntu 14.04

Pycharm version: 2016.1.4

Python version: 2.7.10

Pandas version: 0.18.1

Pandas works in Anaconda, in Jupyter too. Anyone could suggest me how to fix the problem?

Answer

Lisa picture Lisa · Jul 14, 2016

Have you select the project interpreter for your current project? https://www.jetbrains.com/help/pycharm/2016.1/configuring-python-interpreter-for-a-project.html

follow this link, check whether pandas listed in the packages.