ImportError: No module named pandas. Pandas installed pip

i use mac terminal to check my package:

pip list

i can find all packages include pandas

but when i

import pandas

it told me:

ModuleNotFoundError: No module named ‘pandas’

by the way, i have python2 and python3 in my mac, they are not the same directory,i suspect python didn’t find the path of pandas

Leave a Comment