pandas read_html 을 실행할 때 html5lib not found, please install it 에러가 발생.
조회수 944회
for k in range(len(code)):
code = code[k]
fs_url = "http://comp.fnguide.com/SVO2/ASP/SVD_Main.asp?pGB=1&gicode={}&cID=&MenuYn=Y&ReportGB=&NewMenuID=101&stkGb=701".format(code)
res = requests.get(fs_url)
df = pd.read_html(res.text)
제가 짠 코드에서 code 에는 코드번호가 리스트로 들어가 있습니다.
그것을 순서대로 적용하여 html을 읽어와서 작업을 하려고 합니다.
그런데 실행하면
html5lib not found, please install it
오류가 발생합니다. 도움주시면 감사하겠습니다.
-
(•́ ✖ •̀)
알 수 없는 사용자 - 〉
댓글 입력