Python module not importing but says it is installed through terminal


#1

I recently installed miniconda and was able to install numpy, matplotlib, and pandas. No problems importing numpy and matplotlib, but when trying to import pandas I get the following error:

Traceback (most recent call last):
File “/home/ubuntu/workspace/test.py”, line 3, in
import pandas as pd
ImportError: No module named ‘pandas’

To confirm pandas were installed I performed the following:

depierre147:~/workspace $ conda install pandas
Fetching package metadata …
Solving package specifications: .

# All requested packages already installed.
# packages in environment at /home/ubuntu/miniconda3:
#
_pandas 0.20.3 py36h842e28d_2 _
depierre147:~/workspace $

Any suggestions on how to fix this? Thank you in advance!