Search code examples
pythoneclipsequandl

quandl get cmd vs. ecplipse


i am trying to download some stock data. pretty easy code:

import quandl
import numpy as np


data = quandl.get("FSE/ADS_X",authtoken='xxx',  collapse="monthly")
print(data.head(20).to_string())

when i run this in eclipse, it says

AttributeError: module 'quandl' has no attribute 'get'

running this in the cmd, it works perfectly fine. my eclipse project is looking a C:\Users\user\Anaconda3\python.exe. this python installation can use quandl in the cmd.

any ideas? thanks!!


Solution

  • My program was called quandl.py as well so renaming solved the issue.