I have python 2.7 and python 3 installed.
I also have pip2.7 and pip3 installed.
I use IPython Notebook in the Jupyter console. Using the console I can use every module I want but I'm trying to use the terminal :
python script.py arg1 arg2
I have installed pandas 0.17.1 in both versions of python.
Then I launch my script in the terminal and I get the following error:
Traceback (most recent call last):
File "script.py", line 21, in <module>
import pandas as pd
ImportError: No module named pandas
and yet when running
pip install pandas
pip2.7 install pandas
it says:
requirement already satisfied
How can I enable pandas to be imported in my script running in Terminal ? Any ideas ?
Thank you.