FileNotFoundError
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 15/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- jupyter-notebook, python
- Lĩnh vực
- testing-qa
Hướng nghiên cứu
Bắt đầu với ô notebook gọi webdriver.Chrome và traceback được báo cáo từ selenium/webdriver/common/service.py. Kiểm tra cách môi trường notebook phân giải đường dẫn đến tệp thực thi được yêu cầu; hoàn tất khi notebook có thể khởi chạy Chrome mà không gặp FileNotFoundError được báo cáo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Jupyter Notebook
- Star
- 922
- Fork
- 740
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ipython/ipython-in-depth
-
how to run code Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 25/100
ipython/ipython-in-depth#82 · 1 reaction ·
-
Nodejs==9.11? Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 25/100
ipython/ipython-in-depth#66 · 1 bình luận ·
-
!ls is not really a list Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
ipython/ipython-in-depth#52 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
ipython/ipython-in-depth#51 ·
Tất cả issue của ipython/ipython-in-depth
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
fulcrumgenomics/ferro-hgvs#2251 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
personalrobotics/tsr#127 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Flaky: conversation-lifecycle terminal-error gate compares rendered clock time across settle/reload Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
nesquena/hermes-webui#7792 ·
-
category/development priority/P2 scope/file-operations scope/testing type/enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100