Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Windows PowerShell
- Copyright (C) Microsoft Corporation. All rights reserved.
- Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows
- PS C:\Users\Ly\Desktop> & 'C:\Users\Ly\AppData\Local\Microsoft\WindowsApps\python3.10.exe' 'c:\Users\Ly\.vscode\extensions\ms-python.python-2022.16.1\pythonFiles\lib\python\debugpy\adapter/../..\debugpy\launcher' '54632' '--' 'c:\Users\Ly\Desktop\job bot'
- Traceback (most recent call last):
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\common\service.py", line 71, in start
- self.process = subprocess.Popen(cmd, env=self.env,
- File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 971, in __init__
- self._execute_child(args, executable, preexec_fn, close_fds,
- File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1440, in _execute_child
- hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
- FileNotFoundError: [WinError 2] The system cannot find the file specified
- During handling of the above exception, another exception occurred:
- driver = webdriver.Firefox()
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\firefox\webdriver.py", line 176, in __init__
- self.service.start()
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\common\service.py", line 81, in start
- raise WebDriverException(
- selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH.
- PS C:\Users\Ly\Desktop> c:; cd 'c:\Users\Ly\Desktop'; & 'C:\Users\Ly\AppData\Local\Microsoft\WindowsApps\python3.10.exe' 'c:\Users\Ly\.vscode\extensions\ms-python.python-2022.16.1\pythonFiles\lib\python\debugpy\adapter/../..\debugpy\launcher' '54644' '--' 'c:\Users\Ly\Desktop\job bot'
- Traceback (most recent call last):
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\common\service.py", line 71, in start
- self.process = subprocess.Popen(cmd, env=self.env,
- File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 971, in __init__
- self._execute_child(args, executable, preexec_fn, close_fds,
- File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1440, in _execute_child
- hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
- FileNotFoundError: [WinError 2] The system cannot find the file specified
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "c:\Users\Ly\Desktop\job bot", line 5, in <module>
- driver = webdriver.Firefox()
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\firefox\webdriver.py", line 176, in __init__
- self.service.start()
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\common\service.py", line 81, in start
- raise WebDriverException(
- selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH.
- PS C:\Users\Ly\Desktop> c:; cd 'c:\Users\Ly\Desktop'; & 'C:\Users\Ly\AppData\Local\Microsoft\WindowsApps\python3.10.exe' 'c:\Users\Ly\.vscode\extensions\ms-python.python-2022.16.1\pythonFiles\lib\python\debugpy\adapter/../..\debugpy\launcher' '54716' '--' 'c:\Users\Ly\Desktop\job bot'
- c:\Users\Ly\Desktop\job bot:5: DeprecationWarning: executable_path has been deprecated, please pass in a Service object
- driver = webdriver.Firefox(executable_path=r'C:\Users\Ly\Downloads\geckodriver-v0.32.0-win32')
- Traceback (most recent call last):
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\common\service.py", line 71, in start
- self.process = subprocess.Popen(cmd, env=self.env,
- File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 971, in __init__
- self._execute_child(args, executable, preexec_fn, close_fds,
- File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1440, in _execute_child
- hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
- PermissionError: [WinError 5] Access is denied
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "c:\Users\Ly\Desktop\job bot", line 5, in <module>
- driver = webdriver.Firefox(executable_path=r'C:\Users\Ly\Downloads\geckodriver-v0.32.0-win32')
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\firefox\webdriver.py", line 176, in __init__
- self.service.start()
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\common\service.py", line 86, in start
- raise WebDriverException(
- selenium.common.exceptions.WebDriverException: Message: 'geckodriver-v0.32.0-win32' executable may have wrong permissions.
- PS C:\Users\Ly\Desktop> c:; cd 'c:\Users\Ly\Desktop'; & 'C:\Users\Ly\AppData\Local\Microsoft\WindowsApps\python3.10.exe' 'c:\Users\Ly\.vscode\extensions\ms-python.python-2022.16.1\pythonFiles\lib\python\debugpy\adapter/../..\debugpy\launcher' '54743' '--' 'c:\Users\Ly\Desktop\job bot'
- c:\Users\Ly\Desktop\job bot:5: DeprecationWarning: executable_path has been deprecated, please pass in a Service object
- driver = webdriver.Firefox(executable_path=r"C:\Users\Ly\Downloads\geckodriver-v0.32.0-win32")
- Traceback (most recent call last):
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\common\service.py", line 71, in start
- self.process = subprocess.Popen(cmd, env=self.env,
- File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 971, in __init__
- self._execute_child(args, executable, preexec_fn, close_fds,
- File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1440, in _execute_child
- hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
- PermissionError: [WinError 5] Access is denied
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "c:\Users\Ly\Desktop\job bot", line 5, in <module>
- driver = webdriver.Firefox(executable_path=r"C:\Users\Ly\Downloads\geckodriver-v0.32.0-win32")
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\firefox\webdriver.py", line 176, in __init__
- self.service.start()
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\common\service.py", line 86, in start
- raise WebDriverException(
- selenium.common.exceptions.WebDriverException: Message: 'geckodriver-v0.32.0-win32' executable may have wrong permissions.
- PS C:\Users\Ly\Desktop> c:; cd 'c:\Users\Ly\Desktop'; & 'C:\Users\Ly\AppData\Local\Microsoft\WindowsApps\python3.10.exe' 'c:\Users\Ly\.vscode\extensions\ms-python.python-2022.16.1\pythonFiles\lib\python\debugpy\adapter/../..\debugpy\launcher' '54755' '--' 'c:\Users\Ly\Desktop\job bot'
- File "c:\Users\Ly\Desktop\job bot", line 5
- driver = webdriver.Firefox(executable_path="C:\Users\Ly\Downloads\geckodriver-v0.32.0-win32")
- ^
- SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
- PS C:\Users\Ly\Desktop> c:; cd 'c:\Users\Ly\Desktop'; & 'C:\Users\Ly\AppData\Local\Microsoft\WindowsApps\python3.10.exe' 'c:\Users\Ly\.vscode\extensions\ms-python.python-2022.16.1\pythonFiles\lib\python\debugpy\adapter/../..\debugpy\launcher' '54762' '--' 'c:\Users\Ly\Desktop\job bot'
- c:\Users\Ly\Desktop\job bot:5: DeprecationWarning: executable_path has been deprecated, please pass in a Service object
- driver = webdriver.Firefox(executable_path=r"C:\Users\Ly\Downloads\geckodriver-v0.32.0-win32")
- Traceback (most recent call last):
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\common\service.py", line 71, in start
- self.process = subprocess.Popen(cmd, env=self.env,
- File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 971, in __init__
- self._execute_child(args, executable, preexec_fn, close_fds,
- File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1440, in _execute_child
- hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
- PermissionError: [WinError 5] Access is denied
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "c:\Users\Ly\Desktop\job bot", line 5, in <module>
- driver = webdriver.Firefox(executable_path=r"C:\Users\Ly\Downloads\geckodriver-v0.32.0-win32")
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\firefox\webdriver.py", line 176, in __init__
- self.service.start()
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\common\service.py", line 86, in start
- raise WebDriverException(
- selenium.common.exceptions.WebDriverException: Message: 'geckodriver-v0.32.0-win32' executable may have wrong permissions.
- PS C:\Users\Ly\Desktop> c:; cd 'c:\Users\Ly\Desktop'; & 'C:\Users\Ly\AppData\Local\Microsoft\WindowsApps\python3.10.exe' 'c:\Users\Ly\.vscode\extensions\ms-python.python-2022.16.1\pythonFiles\lib\python\debugpy\adapter/../..\debugpy\launcher' '54774' '--' 'c:\Users\Ly\Desktop\job bot'
- c:\Users\Ly\Desktop\job bot:5: DeprecationWarning: executable_path has been deprecated, please pass in a Service object
- driver = webdriver.Firefox(executable_path=r"C:\Users\Ly\Downloads\geckodriver-v0.32.0-win32\geckodriver.exe")
- Traceback (most recent call last):
- File "c:\Users\Ly\Desktop\job bot", line 5, in <module>
- driver = webdriver.Firefox(executable_path=r"C:\Users\Ly\Downloads\geckodriver-v0.32.0-win32\geckodriver.exe")
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\firefox\webdriver.py", line 181, in __init__
- RemoteWebDriver.__init__(
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\remote\webdriver.py", line 269, in __init__
- 425, in execute
- self.error_handler.check_response(response) File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\remote\errorhandler.py", line 247, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.SessionNotCreatedException: Message: Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line
- PS C:\Users\Ly\Desktop> c:; cd 'c:\Users\Ly\Desktop'; & 'C:\Users\Ly\AppData\Local\Microsoft\WindowsApps\python3.10.exe' 'c:\Users\Ly\.vscode\extensions\ms-python.python-2022.16.1\pythonFiles\lib\python\debugpy\adapter/../..\debugpy\launcher' '54810' '--' 'c:\Users\Ly\Desktop\job bot'
- c:\Users\Ly\Desktop\job bot:5: DeprecationWarning: executable_path has been deprecated, please pass in a Service object
- driver = webdriver.Firefox(executable_path=r"C:\Users\Ly\Downloads\geckodriver-v0.32.0-win32\geckodriver.exe")
- Traceback (most recent call last):
- File "c:\Users\Ly\Desktop\job bot", line 5, in <module>
- driver = webdriver.Firefox(executable_path=r"C:\Users\Ly\Downloads\geckodriver-v0.32.0-win32\geckodriver.exe")
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\firefox\webdriver.py", line 181, in __init__
- RemoteWebDriver.__init__(
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\remote\webdriver.py", line 269, in __init__
- self.start_session(capabilities, browser_profile)
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\remote\webdriver.py", line 360, in start_session
- response = self.execute(Command.NEW_SESSION, parameters)
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\remote\webdriver.py", line 425, in execute
- self.error_handler.check_response(response)
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\remote\errorhandler.py", line 247, in check_response
- raise exception_class(message, screen, stacktrace)
- selenium.common.exceptions.SessionNotCreatedException: Message: Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line
- PS C:\Users\Ly\Desktop> c:; cd 'c:\Users\Ly\Desktop'; & 'C:\Users\Ly\AppData\Local\Microsoft\WindowsApps\python3.10.exe' 'c:\Users\Ly\.vscode\extensions\ms-python.python-2022.16.1\pythonFiles\lib\python\debugpy\adapter/../..\debugpy\launcher' '54837' '--' 'c:\Users\Ly\Desktop\job bot'
- Traceback (most recent call last):
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\common\service.py", line 71, in start
- self.process = subprocess.Popen(cmd, env=self.env,
- File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 971, in __init__
- self._execute_child(args, executable, preexec_fn, close_fds,
- File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1440, in _execute_child
- hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
- FileNotFoundError: [WinError 2] The system cannot find the file specified
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "c:\Users\Ly\Desktop\job bot", line 5, in <module>
- driver = webdriver.Firefox()
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\firefox\webdriver.py", line 176, in __init__
- self.service.start()
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\common\service.py", line 81, in start
- raise WebDriverException(
- selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH.
- PS C:\Users\Ly\Desktop> c:; cd 'c:\Users\Ly\Desktop'; & 'C:\Users\Ly\AppData\Local\Microsoft\WindowsApps\python3.10.exe' 'c:\Users\Ly\.vscode\extensions\ms-python.python-2022.16.1\pythonFiles\lib\python\debugpy\adapter/../..\debugpy\launcher' '54934' '--' 'c:\Users\Ly\Desktop\job bot'
- Traceback (most recent call last):
- File "c:\Users\Ly\Desktop\job bot", line 5, in <module>
- driver = webdriver.Firefox()
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\firefox\webdriver.py", line 176, in __init__
- ra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\common\service.py", line 71, in start self.process = subprocess.Popen(cmd, env=self.env, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 971, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1440, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args,OSError: [WinError 216] This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisherPS C:\Users\Ly\Desktop> c:; cd 'c:\Users\Ly\Desktop'; & 'C:\Users\Ly\AppData\Local\Microsoft\WindowsApps\python3.10.exe' 'c:\Users\Ly\.vscode\extensions\ms-python.python-2022.16.1\pythonFiles\lib\python\debugpy\adapter/../..\debugpy\launcher' '54971' '--' 'c:\Users\Ly\Desktop\job bot'
- Traceback (most recent call last):
- File "c:\Users\Ly\Desktop\job bot", line 5, in <module>
- driver = webdriver.Firefox()
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\firefox\webdriver.py", line 176, in __init__
- self.service.start()
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\common\service.py", line 71, in start
- self.process = subprocess.Popen(cmd, env=self.env,
- File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 971, in __init__
- self._execute_child(args, executable, preexec_fn, close_fds,
- File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1440, in _execute_child
- hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
- OSError: [WinError 216] This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher
- PS C:\Users\Ly\Desktop> c:; cd 'c:\Users\Ly\Desktop'; & 'C:\Users\Ly\AppData\Local\Microsoft\WindowsApps\python3.10.exe' 'c:\Users\Ly\.vscode\extensions\ms-python.python-2022.16.1\pythonFiles\lib\python\debugpy\adapter/../..\debugpy\launcher' '57593' '--' 'c:\Users\Ly\Desktop\job bot'
- Traceback (most recent call last):
- File "c:\Users\Ly\Desktop\job bot", line 5, in <module>
- driver = webdriver.Firefox()
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\firefox\webdriver.py", line 176, in __init__
- self.service.start()
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Pyt self.service.start()
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\common\service.py", line 71, in start self.process = subprocess.Popen(cmd, env=self.env,
- File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 971, in __init__ self._execute_child(args, executable, preexec_fn, close_fds,
- File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1440, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
- OSError: [WinError 216] This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisherPS C:\Users\Ly\Desktop> c:; cd 'c:\Users\Ly\Desktop\desktop\desktop\New folder (5)\bot'; & 'C:\Users\Ly\AppData\Local\Microsoft\WindowsApps\python3.10.exe' 'c:\Users\Ly\.vscode\extensions\ms-python.python-2022.16.1\pythonFiles\lib\python\debugpy\adapter/../..\debugpy\launcher' '57657' '--' 'c:\Users\Ly\Desktop\desktop\desktop\New folder (5)\bot\from selenium import webdriver.py'
- c:\Users\Ly\Desktop\desktop\desktop\New folder (5)\bot\from selenium import webdriver.py:24: DeprecationWarning: executable_path has been deprecated, please pass in a Service object
- driver = webdriver.Chrome(options=options, executable_path=r'C:\Users\Ly\Desktop\driver\chromedriver.exe')
- Traceback (most recent call last):
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\common\service.py", line 71, in start
- self.process = subprocess.Popen(cmd, env=self.env,
- File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 971, in __init__
- self._execute_child(args, executable, preexec_fn, close_fds,
- File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1440, in _execute_child
- hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
- FileNotFoundError: [WinError 2] The system cannot find the file specified
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "c:\Users\Ly\Desktop\desktop\desktop\New folder (5)\bot\from selenium import webdriver.py", line 24, in <module>
- driver = webdriver.Chrome(options=options, executable_path=r'C:\Users\Ly\Desktop\driver\chromedriver.exe')
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Pyt File "c:\Users\Ly\Desktop\desktop\desktop\New folder (5)\bot\from selenium import webdriver.py", line 24, in <module>
- driver = webdriver.Chrome(options=options, executable_path=r'C:\Users\Ly\Desktop\driver\chromedriver.exe')
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\chrome\webdriver.py", line 70, in __init__
- super(WebDriver, self).__init__(DesiredCapabilities.CHROME['browserName'], "goog",
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\chromium\webdriver.py", line 90, in __init__
- self.service.start()
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\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://chromedriver.chromium.org/home
- PS C:\Users\Ly\Desktop\desktop\desktop\New folder (5)\bot> c:; cd 'c:\Users\Ly\Desktop'; & 'C:\Users\Ly\AppData\Local\Microsoft\WindowsApps\python3.10.exe' 'c:\Users\Ly\.vscode\extensions\ms-python.python-2022.16.1\pythonFiles\lib\python\debugpy\adapter/../..\debugpy\launcher' '57755' '--' 'c:\Users\Ly\Desktop\test.py'
- Traceback (most recent call last):
- File "c:\Users\Ly\Desktop\test.py", line 5, in <module>
- driver = webdriver.Firefox()
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\firefox\webdriver.py", line 176, in __init__
- self.service.start()
- File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\common\service.py", line 71, in start
- self.process = subprocess.Popen(cmd, env=self.env,
- File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 971, in __init__
- self._execute_child(args, executable, preexec_fn, close_fds,
- File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1440, in _execute_child
- hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
- OSError: [WinError 216] This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher
- PS C:\Users\Ly\Desktop>
Add Comment
Please, Sign In to add comment