-3

I am using a MacBook pro and my terminal version in 2.7.2. However, I have downloaded both python2 and python3. When I 'pip install quandl' in the terminal I can import it using python2 but not python3?! Is this because my terminal is not updated or because the module is not supported my python3?

Andy
  • 3
  • 2
  • 2
    If you want to use it in Python 3, run `pip3 install quandl`, or use virtualenvs to manage interpreters and dependencies. – jonrsharpe Jun 25 '17 at 21:18
  • This very likely has nothing to do with your terminal emulator. Your `pip` is likely pointing to Python2 `pip`, try using `pip3`, which should be pointing to your Python 3 interpreter. – juanpa.arrivillaga Jun 26 '17 at 02:03

1 Answers1

0

You have to use a different pip command to install modules for python3. The command is pip3 so to install the quandl module for python 3, run pip3 install quandl.

ikhaliq15
  • 143
  • 1
  • 12
  • Thanks man! It is quite frustrating as a beginner when you get so many errors trying to download modules. But this works fine! – Andy Jun 26 '17 at 09:59