轉自:https://blog.csdn.net/d77808675/article/details/79016271
最近在學習爬蟲,用到了selenium
環境:Windows,python3
但是引入模塊后並不能正常運行,出現錯誤: Message: 'chromedriver' executable needs to be in PATH
查閱之后知道chromedriver沒有安裝,但是下載以后報錯依舊
再次查閱是需要把chromedriver放在python下,問題解決
附:chromedriver下載地址:http://npm.taobao.org/mirrors/chromedriver/
注意 :chromedriver的版本要與你使用的chrome版本對應,對應關系如下: