安装selenium 模块
pip install selenium
设置浏览器内核(以火狐浏览器为例)新建目录放置火狐的exe文件 如:D:\locaItem\item2\config\geckodriver.exe
火狐浏览器驱动,其下载地址是:https://github.com/mozilla/geckodriver/releases
from selenium import webdriver
brower = webdriver.Firefox(executable_path=r'D:\locaItem\item2\config\geckodriver.exe')
url = "https://so.csdn.net/so/search/s.do?q=Failed%20building%20wheel%20for%20sqlalchemy%20%20%E5%AE%89%E8%A3%85%E6%8A%A5%E9%94%99&t=&u="
brower.get