gpt4 book ai didi

api - 使用comprador()包在R中运行API调用时出错

转载 作者:行者123 更新时间:2023-12-03 08:40:16 24 4
gpt4 key购买 nike

当我尝试使用R中comtradr()包中的ct_search()运行API调用时收到此错误。

Error in curl::curl_fetch_memory(url, handle = handle) : 
SSL certificate problem: certificate has expired

有任何想法吗?

最佳答案

您尚未提供足够的详细信息,但可能与此有关:
https://support.sectigo.com/articles/Knowledge/Sectigo-AddTrust-External-CA-Root-Expiring-May-30-2020

如果您使用的是运行curl的Linux计算机,则可以执行以下操作:

$ sudo vi /etc/ca-certificates.conf
add an exclamation point in front of the line that says "mozilla/AddTrust_External_Root.crt" and save the file
$ sudo apt update
$ sudo apt install ca-certificates
$ sudo update-ca-certificates -f -v

关于api - 使用comprador()包在R中运行API调用时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62148315/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com