I try to import pandas into the pyCharm python interpreter, but I keep getting scary
>>> import pandas Traceback (most recent call last): File "<input>", line 1, in <module> File "/Applications/PyCharm CE.app/Contents/helpers/pydev/pydev_import_hook.py", line 21, in do_import module = self._system_import(name, *args, **kwargs) ImportError: No module named pandas
It works fine when I run python from terminal. I got acquainted with the solutions for this, but so far no one has worked. I deleted the command, reinstalled and updated pandas. I changed the python interpreter of the pyCharm project and the python default interpreter pyCharm to be "2.7.5 (/ usr / local / bin / python)", so now:
>>> os.system('which python') /usr/local/bin/python
found in the pycharm interpreter and python terminal interpreter.
Any other ideas on how to fix this?
thanks
source share