저번에도 이래서 접었는데
from selenium import webdriver
driver = webdriver.Chrome()
url = 'https://google.com'
driver.get(url)
이렇게 썻 고
Traceback (most recent call last):
File "c:\Users\Master\Desktop\Python\디씨매크로\macro.py", line 3, in <module>
driver = webdriver.Chrome()
File "C:\Python39\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 73, in __init__
self.service.start()
File "C:\Python39\lib\site-packages\selenium\webdriver\common\service.py", line 81, in start
raise WebDriverException(
selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home
PS C:\Users\Master\Desktop\Python>
이딴 개지랄뜨는데
나 이렇게 버전맞춰서 다 깔아뒀단말야
왜안되는건데
- dc official App
링크까지 나와있는데 안드가는거면 하기싫은거 아니냐?
들어갔어 시발 갔는데 내가 깐곳 나온다고 - dc App
이미 깐곳이야 깔았다고 저거 - dc App
Message: 'chromedriver' executable needs to be in PATH. 해석해봄?
저거 길을 써줄때 어디부터 어디까지 써주는지 모르겠음 - dc App
PATH 값 올려
그게뭐야 - dc App
환경변수
유니코드에러는 뭐임? - dc App
갑자기 물어보면 나도 몰라
역시 프갤답다 ㅋㅋ
셀레니움 파이썬 파일 같은곳에 두셈
셀레니움은 파일 없고 저거 크롬 같은곳에뒀음 - dc App
크롬드라이브 파이썬 파일이랑 같은 곳에 두면 경로 문제 잘 안날거임