FileNotFoundError
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 15/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- jupyter-notebook, python
- Ambito
- testing-qa
Direzione di ricerca
Inizia dalla cella del notebook che chiama webdriver.Chrome e dal traceback riportato di selenium/webdriver/common/service.py. Verifica come l’ambiente del notebook risolve il percorso dell’eseguibile richiesto; il lavoro è completato quando il notebook riesce ad avviare Chrome senza il FileNotFoundError riportato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Question : Error pop-up but I cannot find the path - /srv/conda/envs/notebook/lib/python3.6/site-packages/selenium/webdriver/common/.
Which path could I put "chromedriver.exe" back to solve FileNotFoundError?
Cell : Driver = webdriver.Chrome(r'C:\Users\chromedriver.exe')
Error:
FileNotFoundError Traceback (most recent call last)
/srv/conda/envs/notebook/lib/python3.6/site-packages/selenium/webdriver/common/service.py in start(self)
75 stderr=self.log_file,
---> 76 stdin=PIPE)
77 except TypeError:
/srv/conda/envs/notebook/lib/python3.6/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)
728 errread, errwrite,
--> 729 restore_signals, start_new_session)
730 except:
/srv/conda/envs/notebook/lib/python3.6/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, restore_signals, start_new_session)
1363 err_msg += ': ' + repr(err_filename)
-> 1364 raise child_exception_type(errno_num, err_msg, err_filename)
1365 raise child_exception_type(err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\chromedriver.exe': 'C:\Users\chromedriver.exe'
During handling of the above exception, another exception occurred:
WebDriverException Traceback (most recent call last)
in
----> 1 Driver = webdriver.Chrome(r'C:\Users\chromedriver.exe')
/srv/conda/envs/notebook/lib/python3.6/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:
/srv/conda/envs/notebook/lib/python3.6/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: 'C:\Users\chromedriver.exe' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home
- Lingua principale
- Jupyter Notebook
- Stelle
- 922
- Fork
- 740
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ipython/ipython-in-depth
-
how to run code Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 25/100
ipython/ipython-in-depth#82 · 1 reazione ·
-
Nodejs==9.11? Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 25/100
ipython/ipython-in-depth#66 · 1 commento ·
-
!ls is not really a list Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
ipython/ipython-in-depth#52 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
ipython/ipython-in-depth#51 ·
Tutte le issue di ipython/ipython-in-depth
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
test(activity): the useActivity pagination test races a third page against its second-page assertion Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
jessepollak/home#765 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 91/100
nesquena/hermes-webui#7735 ·
-
test_rule_oracle fails against hashcat 7.1.2+ dev builds: --stdout now $HEX-encodes candidates Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
trustedsec/hate_crack#337 · 2 commenti ·
-
AuTest Bug Tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
apache/trafficserver#13714 ·