This is the first post. I'm having trouble installing chromedriver-binary. Could anyone please explain ...?
▼ commands in jupyter notebook ===== ! pip install chromedriver-binary==79.0.3945.36.0 ====
▼ Error message ===== Collecting chromedriver-binary==79.0.3945.36.0 Using cached https://files.pythonhosted.org/packages/be/04/19a0439ad7ba95d745518997a0de0ac7166835893748af75a3bfed64b13b/chromedriver-binary-79.0.3945.36.0.tar.gz Installing collected packages: chromedriver-binary Running setup.py install for chromedriver-binary ... error ERROR: Command errored out with exit status 1: command: /Users/gari/pyworks/pyautogui/env/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/y2/r1_1g0650dddd11n8vtfbcvr0000gn/T/pip-install-7d4aev90/chromedriver-binary/setup.py'"'"'; file='"'"'/private/var/folders/y2/r1_1g0650dddd11n8vtfbcvr0000gn/T/pip-install-7d4aev90/chromedriver-binary/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/y2/r1_1g0650dddd11n8vtfbcvr0000gn/T/pip-record-1fyqumti/install-record.txt --single-version-externally-managed --compile --install-headers /Users/gari/pyworks/pyautogui/env/include/site/python3.8/chromedriver-binary cwd: /private/var/folders/y2/r1_1g0650dddd11n8vtfbcvr0000gn/T/pip-install-7d4aev90/chromedriver-binary/ Complete output (79 lines): running install running build running build_py
Downloading Chromedriver...
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/urllib/request.py", line 1319, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/http/client.py", line 1230, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/http/client.py", line 1276, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/http/client.py", line 1225, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/http/client.py", line 1004, in _send_output
self.send(msg)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/http/client.py", line 944, in send
self.connect()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/http/client.py", line 1399, in connect
self.sock = self._context.wrap_socket(self.sock,
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ssl.py", line 1040, in _create
self.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/private/var/folders/y2/r1_1g0650dddd11n8vtfbcvr0000gn/T/pip-install-7d4aev90/chromedriver-binary/setup.py", line 44, in run
response = urlopen(url)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/urllib/request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/urllib/request.py", line 1362, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/urllib/request.py", line 1322, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/y2/r1_1g0650dddd11n8vtfbcvr0000gn/T/pip-install-7d4aev90/chromedriver-binary/setup.py", line 59, in <module>
setup(
File "/Users/gari/pyworks/pyautogui/env/lib/python3.8/site-packages/setuptools/__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/Users/gari/pyworks/pyautogui/env/lib/python3.8/site-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/distutils/command/install.py", line 545, in run
self.run_command('build')
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/private/var/folders/y2/r1_1g0650dddd11n8vtfbcvr0000gn/T/pip-install-7d4aev90/chromedriver-binary/setup.py", line 48, in run
raise RuntimeError('Failed to download chromedriver archive: {}'.format(url))
RuntimeError: Failed to download chromedriver archive: https://chromedriver.storage.googleapis.com/79.0.3945.36/chromedriver_mac64.zip
----------------------------------------
ERROR: Command errored out with exit status 1: /Users/gari/pyworks/pyautogui/env/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/y2/r1_1g0650dddd11n8vtfbcvr0000gn/T/pip-install-7d4aev90/chromedriver-binary/setup.py'"'"'; file='"'"'/private/var/folders/y2/r1_1g0650dddd11n8vtfbcvr0000gn/T/pip-install-7d4aev90/chromedriver-binary/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/y2/r1_1g0650dddd11n8vtfbcvr0000gn/T/pip-record-1fyqumti/install-record.txt --single-version-externally-managed --compile --install-headers /Users/gari/pyworks/pyautogui/env/include/site/python3.8/chromedriver-binary Check the logs for full command output.
=====