I have what I'm pretty sure is a simple problem- just wondering how I can/should resolve it. As a disclaimer, I'm not very experienced when it comes to working with the terminal, understanding what files are installed and where, etc.
As the title says, I'm working on a Mac.
I've been trying to get pandas and other related packages working on Python- my issue is that when I type:
python --version
In the terminal, I get Python 2.7.10, whereas when I type
sys.version
In Idle, I get 3.3.0. (More exactly, the message is: '3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 01:25:11) \n[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]')
From some research, I'm pretty sure the 2.7 is python which came with my Mac, and 3.3 was installed by me. I used the command
pip install pandas --user
In the terminal, which seemed to work- though, of course, when I type "import pandas" or "import numpy" in IDLE, it can't find the package. So my question is: How to either:
1) Change IDLE so it "points to" (?) version 2.7.
2) Download the latest version of Python (3.3 is outdated it seems) and then download packages for it. (And uninstall 3.3? Will that happen automatically?)
As I'm only a beginner, I don't have any real reason to prefer 2.7 or 3.x, so suitable advice on this point is appreciated as well. The more explicit instructions the better. Thanks!