편집 기록

편집 기록
  • 프로필 nowp님의 편집
    날짜2021.01.21

    pandas read_html 을 실행할 때 html5lib not found, please install it 에러가 발생.


    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

    오류가 발생합니다. 도움주시면 감사하겠습니다.

  • 프로필 엽토군님의 편집
    날짜2021.01.21

    python for 구문 적용과 관련하여 질문드립니다.


    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

    오류가 발생합니다. 도움주시면 감사하겠습니다.

  • 프로필 알 수 없는 사용자님의 편집
    날짜2021.01.21

    python for 구문 적용과 관련하여 질문드립니다.


    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

    오류가 발생합니다. 도움주시면 감사하겠습니다.