From 161de8db90dca7c867a46b9d9c86347cc4e02923 Mon Sep 17 00:00:00 2001 From: xuewengeophysics Date: Thu, 22 Apr 2021 15:21:23 +0800 Subject: [PATCH] modified notes.md for pip error --- notes.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/notes.md b/notes.md index 4820003..954ea8a 100644 --- a/notes.md +++ b/notes.md @@ -39,3 +39,21 @@ git merge upstream/master git push ``` + + + + +[pip安装第三方包报错:There was a problem confirming the ssl certificate](https://www.cnblogs.com/yinhaiping/p/13375375.html) + +**创建pip配置pip.ini** + +(1)在系统目录C:\Users\用户\AppData\Roaming新建pip文件夹; + +(2)在pip文件夹下新建pip.ini文件,并写入如下配置: + +```python +[global] +index-url = http://mirrors.aliyun.com/pypi/simple/ +[install] +trusted-host = mirrors.aliyun.com +``` \ No newline at end of file