更新时间:2023-08-22 09:54:10
在Windows 10中, 1.使用以下命令找到certifi的位置,以检查是否已安装
In Windows 10, 1. Find the location of certifi with following commands to check if installed already
import certifi
certifi.where()
记下cacert.pem文件的路径
Note down the path of cacert.pem file
在Windows资源管理器中搜索pip.ini文件,然后在记事本中编辑该文件,然后设置path = <file path of cacert.pem >
Search for the pip.ini file in windows explorer and edit the file in notepad and set the path = <file path of cacert.pem >