Advertisement
Guest User

Untitled

a guest
May 25th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.43 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "C:\Users\Gilbert\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\webdriver\common\service.py", line 76, in start
  3. stdin=PIPE)
  4. File "C:\Users\Gilbert\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 729, in __init__
  5. restore_signals, start_new_session)
  6. File "C:\Users\Gilbert\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 1017, in _execute_child
  7. startupinfo)
  8. File "c:\Users\Gilbert\.vscode\extensions\ms-python.python-2019.4.12954\pythonFiles\lib\python\ptvsd\_vendored\pydevd\_pydev_bundle\pydev_monkey.py", line 488, in new_CreateProcess
  9. return getattr(_subprocess, original_name)(app_name, patch_arg_str_win(cmd_line), *args)
  10. FileNotFoundError: [WinError 2] Nie można odnaleźć określonego pliku
  11.  
  12. During handling of the above exception, another exception occurred:
  13.  
  14. Traceback (most recent call last):
  15. File "c:\Users\Gilbert\.vscode\extensions\ms-python.python-2019.4.12954\pythonFiles\ptvsd_launcher.py", line 43, in <module>
  16. main(ptvsdArgs)
  17. File "c:\Users\Gilbert\.vscode\extensions\ms-python.python-2019.4.12954\pythonFiles\lib\python\ptvsd\__main__.py", line 410, in main
  18. run()
  19. File "c:\Users\Gilbert\.vscode\extensions\ms-python.python-2019.4.12954\pythonFiles\lib\python\ptvsd\__main__.py", line 291, in run_file
  20. runpy.run_path(target, run_name='__main__')
  21. File "C:\Users\Gilbert\AppData\Local\Programs\Python\Python36\lib\runpy.py", line 263, in run_path
  22. pkg_name=pkg_name, script_name=fname)
  23. File "C:\Users\Gilbert\AppData\Local\Programs\Python\Python36\lib\runpy.py", line 96, in _run_module_code
  24. mod_name, mod_spec, pkg_name, script_name)
  25. File "C:\Users\Gilbert\AppData\Local\Programs\Python\Python36\lib\runpy.py", line 85, in _run_code
  26. exec(code, run_globals)
  27. File "c:\Users\Gilbert\Desktop\pliki\programowanie\Ptyhon projekty\python.py", line 4, in <module>
  28. driver = webdriver.Firefox('C:\\Selenium drivers')
  29. File "C:\Users\Gilbert\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 164, in __init__
  30. self.service.start()
  31. File "C:\Users\Gilbert\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\webdriver\common\service.py", line 83, in start
  32. os.path.basename(self.path), self.start_error_message)
  33. selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement