質問編集履歴
1
エラーメッセージの全文を追記いたしました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -40,7 +40,45 @@
|
|
40
40
|
|
41
41
|
```
|
42
42
|
|
43
|
+
Traceback (most recent call last):
|
44
|
+
|
45
|
+
File "C:\Users\XXX\anaconda3\lib\site-packages\selenium\webdriver\common\service.py", line 72, in start
|
46
|
+
|
47
|
+
self.process = subprocess.Popen(cmd, env=self.env,
|
48
|
+
|
49
|
+
File "C:\Users\XXX\anaconda3\lib\subprocess.py", line 854, in __init__
|
50
|
+
|
51
|
+
self._execute_child(args, executable, preexec_fn, close_fds,
|
52
|
+
|
53
|
+
File "C:\Users\XXX\anaconda3\lib\subprocess.py", line 1307, in _execute_child
|
54
|
+
|
55
|
+
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
|
56
|
+
|
43
57
|
FileNotFoundError: [WinError 2] 指定されたファイルが見つかりません。
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
During handling of the above exception, another exception occurred:
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
Traceback (most recent call last):
|
66
|
+
|
67
|
+
File "C:/Users/XXX/PycharmProjects/pythonProject/practice_scraping/test.py", line 4, in <module>
|
68
|
+
|
69
|
+
driver = webdriver.Chrome("C:¥Users¥webdriver.exe")
|
70
|
+
|
71
|
+
File "C:\Users\XXX\anaconda3\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 73, in __init__
|
72
|
+
|
73
|
+
self.service.start()
|
74
|
+
|
75
|
+
File "C:\Users\XXX\anaconda3\lib\site-packages\selenium\webdriver\common\service.py", line 81, in start
|
76
|
+
|
77
|
+
raise WebDriverException(
|
78
|
+
|
79
|
+
selenium.common.exceptions.WebDriverException: Message: '¥Users¥webdriver.exe' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home
|
80
|
+
|
81
|
+
|
44
82
|
|
45
83
|
```
|
46
84
|
|