[問題] python 3.5 beautifulsoup('lxml')疑問
最近學習BeautifulSoup的功能
雖然用內建的html.parser去爬蟲多數可以成功.
但如果用 soup = BeautifulSoup(html, "lxml")指令
都會跳出 bs4.feature not found , couldn't find a tree builder with the features
you requested : lxml . Do you need to install a parser library?
我的電腦是windows7 ,python是3.5版的
網路上的教學不外乎是藉安裝lxml 或是 visual studio解決問題
我都已經安裝過,但還是會跳出上述的錯誤
有高手能幫我解惑嗎,謝謝!
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 27.242.135.213
※ 文章網址: https://www.ptt.cc/bbs/Python/M.1474625772.A.8A8.html
→
09/23 22:24, , 1F
09/23 22:24, 1F
推
09/24 01:28, , 2F
09/24 01:28, 2F
→
09/24 12:06, , 3F
09/24 12:06, 3F
推
09/25 12:59, , 4F
09/25 12:59, 4F
→
09/25 13:47, , 5F
09/25 13:47, 5F
推
09/26 15:13, , 6F
09/26 15:13, 6F
→
09/27 23:08, , 7F
09/27 23:08, 7F