- 
                Notifications
    You must be signed in to change notification settings 
- Fork 386
Description
if name == 'main':
driver = login()
link(driver)
crawler(driver)
deadCompany_list = parse_csv()
lifetime_pie(deadCompany_list)
rongzi_pie(deadCompany_list)
place_bar(deadCompany_list)
FileNotFoundError                         Traceback (most recent call last)
D:\Users\Feng\Anaconda3\lib\site-packages\selenium\webdriver\common\service.py in start(self)
75                                             stderr=self.log_file,
---> 76                                             stdin=PIPE)
77         except TypeError:
D:\Users\Feng\Anaconda3\lib\subprocess.py in init(self, args, bufsize, executable, stdin, stdout, stderr, preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags, restore_signals, start_new_session, pass_fds, encoding, errors, text)
774                                 errread, errwrite,
--> 775                                 restore_signals, start_new_session)
776         except:
D:\Users\Feng\Anaconda3\lib\subprocess.py in _execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, unused_restore_signals, unused_start_new_session)
1177                                          os.fspath(cwd) if cwd is not None else None,
-> 1178                                          startupinfo)
1179             finally:
FileNotFoundError: [WinError 2] 系统找不到指定的文件。
During handling of the above exception, another exception occurred:
WebDriverException                        Traceback (most recent call last)
 in 
1 if name == 'main':
----> 2     driver = login()
3     link(driver)
4     crawler(driver)
5     deadCompany_list = parse_csv()
 in login()
1 def login():
----> 2     driver = webdriver.Chrome()
3
4     driver.get('https://www.itjuzi.com/login')
5     driver.implicitly_wait(10)
D:\Users\Feng\Anaconda3\lib\site-packages\selenium\webdriver\chrome\webdriver.py in init(self, executable_path, port, options, service_args, desired_capabilities, service_log_path, chrome_options, keep_alive)
71             service_args=service_args,
72             log_path=service_log_path)
---> 73         self.service.start()
74
75         try:
D:\Users\Feng\Anaconda3\lib\site-packages\selenium\webdriver\common\service.py in start(self)
81                 raise WebDriverException(
82                     "'%s' executable needs to be in PATH. %s" % (
---> 83                         os.path.basename(self.path), self.start_error_message)
84                 )
85             elif err.errno == errno.EACCES:
WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home