inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

파이썬(Python)으로 데이터 기반 주식 퀀트 투자하기 Part1

finance-datareader==0.9.1 로 같은 버전의 라이브러리를 설치 문제

해결된 질문

726

ilhalm

작성한 질문수 8

0

교수님,
 
12월 4일에 질문을 남긴 학생입니다. 댓글 달아주신 것처럼 했는데, 안 되어서 다시 질문 올립니다.
(질문 제목 : (2.6 reindex() 관련 예제) 2.4.3.2. 예제에서 df1 = fdr.DataReader("005930", '2018-01-02', '2018-10-30')를 실행하면 에러가 뜹니다.)
 
---------------------------------------------------------------------------------------------------------------------------

<교수님 댓글>

안녕하세요!

혹시 finance-datareader==0.9.1 로 같은 버전의 라이브러리를 설치를 하셨을까요?

jupyter노트북을 완전히 종료하고, anaconda prompt에서 pip install finance-datareader==0.9.1 실행 후 jupyter 재실행해서 확인해보시겠어요?

-------------------------------------------------------------------------------------------------------------------------------------
 

말씀대로 anaconda prompt에서 pip install finance-datareader==0.9.1 실행 후 jupyter 재실행해 봤는데, 아래와 같이 됩니다. 무엇이 문제일까요..ㅠ

 

(base) C:\Users\Ilhalm\Desktop\python_class>pip install finance-datareader==0.9.1

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', timeout('_ssl.c:1108: The handshake operation timed out'))': /simple/finance-datareader/

WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', timeout('_ssl.c:1108: The handshake operation timed out'))': /simple/finance-datareader/

WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', timeout('_ssl.c:1108: The handshake operation timed out'))': /simple/finance-datareader/

WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', timeout('_ssl.c:1108: The handshake operation timed out'))': /simple/finance-datareader/

WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', timeout('_ssl.c:1108: The handshake operation timed out'))': /simple/finance-datareader/

ERROR: Could not find a version that satisfies the requirement finance-datareader==0.9.1

ERROR: No matching distribution found for finance-datareader==0.9.1

 

 

 

그래서 교수님께서 앞 강의에서 !pip install -r requirements.txt를 통해 모든 library를 한꺼번에 설치하는 방법을 가르쳐주셔서 여기를 통해 다시 해봤는데, 아래와 같이 뜹니다. 판다스를 다시 깔아야 하는 건가요? 

 

 

 

 

투자 pandas 퀀트

답변 1

1

DeepingSauce

흠.. 이상하네요. 판다스조차 설치못하는게 이상하네요.

1. 혹시 운영체제 / 아나콘다 버전 / 파이썬 버전 (python -v 등으로 판단 가능) 알려주시겠어요?

2. 아나콘다를 싹 다 지우고 다시 설치해보는 것도 좋을듯합니다.

3. 혹시 사내 등의 private 네트워크에서 코드를 돌리시고 계시는 것은 아닌가요?

0

ilhalm

교수님, 

 

아다콘다를 지우고 다시 깔아서 되었습니다. 

 

감사합니다!!

No module named 'FinanceDataReader' 문제

0

831

3

처음 requirements.txt 폴더, 문의 드립니다.

0

460

2

강의 5.9 질문있습니다.

0

278

1

2.1 라이브러리가 설치부터 에러가 발생하네요..

0

363

1

파일 설치시 오류 메세지

0

304

1

질문이 있습니다.

0

290

2

7.9 왜 재생이 안되죠? 다른건 다 되는데..

0

223

1

append삭제

0

449

1

이틀째 설치에서 멈췄어요..제발도와주세요

0

1275

1

강의자료

0

352

1

2.6 reindex 관련 예제 질문

0

559

1

my_data

0

289

1

드랍박스 경로 다시 공유해주실수있나요?

0

469

1

fdr 오류 도오ㅏ주세요 ㅠ

0

668

1

row 출력 개수 변경

0

412

1

df.nsmallest(5, "PER(배)") 중 양수값만 표출

0

356

1

df1 = fdr.DataReader("005930", '2018-01-02', '2018-10-30') 오류

0

676

3

!pip install -r requirements.txt 설치시 에러2

0

893

1

!pip install -r requirements.txt 설치시 에러

0

1569

1

강의 7.9, 슈퍼가치전략 질문

0

294

0

주피터 라이브러리 설치(pandas, numpy, finance-datareader) 관련 문의

0

587

1

pivot() 하니 row의 수가 줄어들었는데 이유가 무엇인지요?

0

361

1

설치 에러

0

378

3

가상환경에서 FinanceDataReader import

0

546

1