报错这个信息,看一下!,这个哪里出错了呢?

Traceback (most recent call last):
  File "C:\Users\Zycc\AppData\Local\Programs\Python\Python38\lib\site-packages\selenium\webdriver\common\service.py", line 72, in start
    self.process = subprocess.Popen(cmd, env=self.env,
  File "C:\Users\Zycc\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 854, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\Zycc\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 1307, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] 系统找不到指定的文件。

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:/股票/测试.py", line 28, in <module>
    bro = webdriver.Chrome(executable_path=r'C:\Users\ASUS\Desktop\数据挖掘\chromedriver.exe')
  File "C:\Users\Zycc\AppData\Local\Programs\Python\Python38\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 73, in __init__
    self.service.start()
  File "C:\Users\Zycc\AppData\Local\Programs\Python\Python38\lib\site-packages\selenium\webdriver\common\service.py", line 81, in start
    raise WebDriverException(
selenium.common.exceptions.WebDriverException: Message: 'chromedriver.exe' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home


将chromedriver.exe直接放到python的Scripts目录下,在建浏览器对象直接写webdriver.Chrome(),就可避免出现找不到路径文件的错误。

把路径的中文改成英文试试,代码中尽量不要用中文