파이썬 셀레니움 오류 질문
252
작성한 질문수 1
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
답변 0
26-2 이론문제 재탕
1
61
1
왜 이름이 Graph engineering인가요?
1
50
2
개인 블로그에 정리하면서 ppt 자료 캡처 해서 넣어도 되나요?
1
56
2
run.py 실행하니 아예 전체다 돌아가요 코드가
1
44
2





