일부 주식 데이터를 다운로드하려고합니다. 아주 쉽게 코드 : 이클립스에서이 프로그램을 실행할 때quandl get cmd vs. ecplipse
import quandl
import numpy as np
data = quandl.get("FSE/ADS_X",authtoken='xxx', collapse="monthly")
print(data.head(20).to_string())
, 그것은 cmd를이 실행
AttributeError: module 'quandl' has no attribute 'get'
, 그것은 완벽하게 잘 작동했다. 내 eclipse 프로젝트에서 C : \ Users \ user \ Anaconda3 \ python.exe를 찾고 있습니다. 이 python 설치는 cmd에서 quandl을 사용할 수 있습니다.
어떤 아이디어가 있습니까? 감사합니다. !!
같은 이름의 디렉토리로 실제 quandl 모듈을 가릴 가능성이 있습니까? – Pavel
@Pavel ahh i 참조. 5 월 스크립트는 quandl이라고도합니다! 감사합니다 :) – Ele
[스크립트에서 설치된 패키지를 가져 오는 중 "AttributeError : 모듈에 속성이 없습니다"또는 "ImportError : 이름을 가져올 수 없습니다."] (https://stackoverflow.com/questions/36250353/importing-installed-package- from-script-raises-attributeerror-module-has-no-at) – SiHa