运行此代码字符串后:
await r.html.arender()
我得到的结果是:
[W:pyppeteer.chromium_downloader] start chromium download.
Download may take a few minutes.
在这之后,我得到了一堆错误,它不工作,所以,我如何手动安装chromium在jupyter上?有没有其他方法可以解决这个问题?或者我只是正常安装铬
我想补充一点,在安装anaconda时,我在安装时将anaconda添加到路径变量中,这不是推荐的选项。建议的选项是将anaconda注册为默认python。这就是问题的原因吗
编辑:错误:
Error Traceback (most recent call last)
~\anaconda3\lib\site-packages\urllib3\contrib\pyopenssl.py in wrap_socket(self, sock, server_side, do_handshake_on_connect, suppress_ragged_eofs, server_hostname)
484 try:
--> 485 cnx.do_handshake()
486 except OpenSSL.SSL.WantReadError:
~\anaconda3\lib\site-packages\OpenSSL\SSL.py in do_handshake(self)
1933 result = _lib.SSL_do_handshake(self._ssl)
-> 1934 self._raise_ssl_error(self._ssl, result)
1935
~\anaconda3\lib\site-packages\OpenSSL\SSL.py in _raise_ssl_error(self, ssl, result)
1670 else:
-> 1671 _raise_current_error()
1672
~\anaconda3\lib\site-packages\OpenSSL\_util.py in exception_from_error_queue(exception_type)
53
---> 54 raise exception_type(errors)
55
Error: [('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')]
During handling of the above exception, another exception occurred:
SSLError Traceback (most recent call last)
~\anaconda3\lib\site-packages\urllib3\connectionpool.py in urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw)
671 headers=headers,
--> 672 chunked=chunked,
673 )
目前没有回答
相关问题 更多 >
编程相关推荐