Guest User

Untitled

a guest
Nov 14th, 2022
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.49 KB | None | 0 0
  1. Windows PowerShell
  2. Copyright (C) Microsoft Corporation. All rights reserved.
  3.  
  4. Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows
  5.  
  6. 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'
  7. Traceback (most recent call last):
  8. 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
  9. self.process = subprocess.Popen(cmd, env=self.env,
  10. File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 971, in __init__
  11. self._execute_child(args, executable, preexec_fn, close_fds,
  12. File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1440, in _execute_child
  13. hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
  14. FileNotFoundError: [WinError 2] The system cannot find the file specified
  15.  
  16. During handling of the above exception, another exception occurred:
  17. driver = webdriver.Firefox()
  18. 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__
  19. self.service.start()
  20. 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
  21. raise WebDriverException(
  22. selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH.
  23.  
  24. 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'
  25. Traceback (most recent call last):
  26. 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
  27. self.process = subprocess.Popen(cmd, env=self.env,
  28. File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 971, in __init__
  29. self._execute_child(args, executable, preexec_fn, close_fds,
  30. File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1440, in _execute_child
  31. hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
  32. FileNotFoundError: [WinError 2] The system cannot find the file specified
  33.  
  34. During handling of the above exception, another exception occurred:
  35.  
  36. Traceback (most recent call last):
  37. File "c:\Users\Ly\Desktop\job bot", line 5, in <module>
  38. driver = webdriver.Firefox()
  39. 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__
  40. self.service.start()
  41. 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
  42. raise WebDriverException(
  43. selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH.
  44.  
  45. 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'
  46. c:\Users\Ly\Desktop\job bot:5: DeprecationWarning: executable_path has been deprecated, please pass in a Service object
  47. driver = webdriver.Firefox(executable_path=r'C:\Users\Ly\Downloads\geckodriver-v0.32.0-win32')
  48. Traceback (most recent call last):
  49. 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
  50. self.process = subprocess.Popen(cmd, env=self.env,
  51. File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 971, in __init__
  52. self._execute_child(args, executable, preexec_fn, close_fds,
  53. File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1440, in _execute_child
  54. hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
  55. PermissionError: [WinError 5] Access is denied
  56.  
  57. During handling of the above exception, another exception occurred:
  58.  
  59. Traceback (most recent call last):
  60. File "c:\Users\Ly\Desktop\job bot", line 5, in <module>
  61. driver = webdriver.Firefox(executable_path=r'C:\Users\Ly\Downloads\geckodriver-v0.32.0-win32')
  62. 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__
  63. self.service.start()
  64. 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
  65. raise WebDriverException(
  66. selenium.common.exceptions.WebDriverException: Message: 'geckodriver-v0.32.0-win32' executable may have wrong permissions.
  67.  
  68. 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'
  69. c:\Users\Ly\Desktop\job bot:5: DeprecationWarning: executable_path has been deprecated, please pass in a Service object
  70. driver = webdriver.Firefox(executable_path=r"C:\Users\Ly\Downloads\geckodriver-v0.32.0-win32")
  71. Traceback (most recent call last):
  72. 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
  73. self.process = subprocess.Popen(cmd, env=self.env,
  74. File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 971, in __init__
  75. self._execute_child(args, executable, preexec_fn, close_fds,
  76. File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1440, in _execute_child
  77. hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
  78. PermissionError: [WinError 5] Access is denied
  79.  
  80. During handling of the above exception, another exception occurred:
  81.  
  82. Traceback (most recent call last):
  83. File "c:\Users\Ly\Desktop\job bot", line 5, in <module>
  84. driver = webdriver.Firefox(executable_path=r"C:\Users\Ly\Downloads\geckodriver-v0.32.0-win32")
  85. 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__
  86. self.service.start()
  87. 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
  88. raise WebDriverException(
  89. selenium.common.exceptions.WebDriverException: Message: 'geckodriver-v0.32.0-win32' executable may have wrong permissions.
  90.  
  91. 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'
  92. File "c:\Users\Ly\Desktop\job bot", line 5
  93. driver = webdriver.Firefox(executable_path="C:\Users\Ly\Downloads\geckodriver-v0.32.0-win32")
  94. ^
  95. SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
  96. 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'
  97. c:\Users\Ly\Desktop\job bot:5: DeprecationWarning: executable_path has been deprecated, please pass in a Service object
  98. driver = webdriver.Firefox(executable_path=r"C:\Users\Ly\Downloads\geckodriver-v0.32.0-win32")
  99. Traceback (most recent call last):
  100. 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
  101. self.process = subprocess.Popen(cmd, env=self.env,
  102. File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 971, in __init__
  103. self._execute_child(args, executable, preexec_fn, close_fds,
  104. File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1440, in _execute_child
  105. hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
  106. PermissionError: [WinError 5] Access is denied
  107.  
  108. During handling of the above exception, another exception occurred:
  109.  
  110. Traceback (most recent call last):
  111. File "c:\Users\Ly\Desktop\job bot", line 5, in <module>
  112. driver = webdriver.Firefox(executable_path=r"C:\Users\Ly\Downloads\geckodriver-v0.32.0-win32")
  113. 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__
  114. self.service.start()
  115. 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
  116. raise WebDriverException(
  117. selenium.common.exceptions.WebDriverException: Message: 'geckodriver-v0.32.0-win32' executable may have wrong permissions.
  118.  
  119. 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'
  120. c:\Users\Ly\Desktop\job bot:5: DeprecationWarning: executable_path has been deprecated, please pass in a Service object
  121. driver = webdriver.Firefox(executable_path=r"C:\Users\Ly\Downloads\geckodriver-v0.32.0-win32\geckodriver.exe")
  122. Traceback (most recent call last):
  123. File "c:\Users\Ly\Desktop\job bot", line 5, in <module>
  124. driver = webdriver.Firefox(executable_path=r"C:\Users\Ly\Downloads\geckodriver-v0.32.0-win32\geckodriver.exe")
  125. 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__
  126. RemoteWebDriver.__init__(
  127. 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__
  128. 425, in execute
  129. 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
  130. 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'
  131. c:\Users\Ly\Desktop\job bot:5: DeprecationWarning: executable_path has been deprecated, please pass in a Service object
  132. driver = webdriver.Firefox(executable_path=r"C:\Users\Ly\Downloads\geckodriver-v0.32.0-win32\geckodriver.exe")
  133. Traceback (most recent call last):
  134. File "c:\Users\Ly\Desktop\job bot", line 5, in <module>
  135. driver = webdriver.Firefox(executable_path=r"C:\Users\Ly\Downloads\geckodriver-v0.32.0-win32\geckodriver.exe")
  136. 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__
  137. RemoteWebDriver.__init__(
  138. 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__
  139. self.start_session(capabilities, browser_profile)
  140. 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
  141. response = self.execute(Command.NEW_SESSION, parameters)
  142. 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
  143. self.error_handler.check_response(response)
  144. 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
  145. raise exception_class(message, screen, stacktrace)
  146. 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
  147.  
  148. 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'
  149. Traceback (most recent call last):
  150. 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
  151. self.process = subprocess.Popen(cmd, env=self.env,
  152. File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 971, in __init__
  153. self._execute_child(args, executable, preexec_fn, close_fds,
  154. File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1440, in _execute_child
  155. hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
  156. FileNotFoundError: [WinError 2] The system cannot find the file specified
  157.  
  158. During handling of the above exception, another exception occurred:
  159.  
  160. Traceback (most recent call last):
  161. File "c:\Users\Ly\Desktop\job bot", line 5, in <module>
  162. driver = webdriver.Firefox()
  163. 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__
  164. self.service.start()
  165. 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
  166. raise WebDriverException(
  167. selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH.
  168.  
  169. 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'
  170. Traceback (most recent call last):
  171. File "c:\Users\Ly\Desktop\job bot", line 5, in <module>
  172. driver = webdriver.Firefox()
  173. 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__
  174. 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'
  175. Traceback (most recent call last):
  176. File "c:\Users\Ly\Desktop\job bot", line 5, in <module>
  177. driver = webdriver.Firefox()
  178. 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__
  179. self.service.start()
  180. 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
  181. self.process = subprocess.Popen(cmd, env=self.env,
  182. File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 971, in __init__
  183. self._execute_child(args, executable, preexec_fn, close_fds,
  184. File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1440, in _execute_child
  185. hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
  186. 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
  187. 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'
  188. Traceback (most recent call last):
  189. File "c:\Users\Ly\Desktop\job bot", line 5, in <module>
  190. driver = webdriver.Firefox()
  191. 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__
  192. self.service.start()
  193. File "C:\Users\Ly\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Pyt self.service.start()
  194. 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,
  195. 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,
  196. 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,
  197. 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'
  198. 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
  199. driver = webdriver.Chrome(options=options, executable_path=r'C:\Users\Ly\Desktop\driver\chromedriver.exe')
  200. Traceback (most recent call last):
  201. 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
  202. self.process = subprocess.Popen(cmd, env=self.env,
  203. File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 971, in __init__
  204. self._execute_child(args, executable, preexec_fn, close_fds,
  205. File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1440, in _execute_child
  206. hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
  207. FileNotFoundError: [WinError 2] The system cannot find the file specified
  208.  
  209. During handling of the above exception, another exception occurred:
  210.  
  211. Traceback (most recent call last):
  212. File "c:\Users\Ly\Desktop\desktop\desktop\New folder (5)\bot\from selenium import webdriver.py", line 24, in <module>
  213. driver = webdriver.Chrome(options=options, executable_path=r'C:\Users\Ly\Desktop\driver\chromedriver.exe')
  214. 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>
  215. driver = webdriver.Chrome(options=options, executable_path=r'C:\Users\Ly\Desktop\driver\chromedriver.exe')
  216. 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__
  217. super(WebDriver, self).__init__(DesiredCapabilities.CHROME['browserName'], "goog",
  218. 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__
  219. self.service.start()
  220. 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
  221. raise WebDriverException(
  222. selenium.common.exceptions.WebDriverException: Message: 'chromedriver.exe' executable needs to be in PATH. Please see https://chromedriver.chromium.org/home
  223. 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'
  224. Traceback (most recent call last):
  225. File "c:\Users\Ly\Desktop\test.py", line 5, in <module>
  226. driver = webdriver.Firefox()
  227. 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__
  228. self.service.start()
  229. 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
  230. self.process = subprocess.Popen(cmd, env=self.env,
  231. File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 971, in __init__
  232. self._execute_child(args, executable, preexec_fn, close_fds,
  233. File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1440, in _execute_child
  234. hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
  235. 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
  236. PS C:\Users\Ly\Desktop>
Add Comment
Please, Sign In to add comment