인프런 커뮤니티 질문&답변
파이썬 셀레니움 오류 질문
작성
·
244
0
from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.chrome.options import Options
#크롬 옵션 자동 업데이트
from webdriver_manager.chrome import ChromeDriverManager
# 꺼짐 방지
chrome_options = Options()
chrome_options.add_experimental_option("detach" , True)
#불필요 에러 메세지 제거
chrome_options.add_experimental_option("excludeSwitches" , ["enable-logging"])
Service = Service (executable_path=ChromeDriverManager().install())
driver = webdriver.Chrome(service=Service)
#주소 이동
driver.get("https://www.naver.com")
작성 코드 입니다
출력 오류
ModuleNotFoundError: No module named 'packaging'
from packaging import version
답변
답변을 기다리고 있는 질문이에요
첫번째 답변을 남겨보세요!




