当请求使用pypp安装chromium时python3 SSL证书问题

2024-04-27 22:40:51 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在从requests_html库运行html.render()。它正在尝试安装chromium,但我得到一个错误

我已经尝试了pip install --upgrade certifi,有没有{} 得到:Requirement already up-to-date: certifi in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (2019.6.16)

我也试着运行/Applications/Python\ 3.6/Install\ Certificates command,得到了:

 -- pip install --upgrade certifi
Requirement already up-to-date: certifi in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (2019.6.16)
 -- removing any existing file or link
 -- creating symlink to certifi certificate bundle
 -- setting permissions
 -- update complete
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

这是我得到的错误:

^{pr2}$

有什么建议吗?在


Tags: installpiptoindatehtml错误library