Compare commits

...

No commits in common. "927c33114c286fdc5da6d4f98350dfe63a2f0c2d" and "f0be3a2d39b107a022e61a31e92c11099b9a4b41" have entirely different histories.

6 changed files with 12 additions and 12 deletions

View File

@ -16,15 +16,15 @@
<meta name="keywords" content="技术" /> <meta name="keywords" content="技术" />
<meta name="description" content="记录一下,解决办法很简单,网上都是废话: 设置,需要注意的certifi不是标准库需要额外安装 1234import osimport certifios.environ[&amp;#x27;SSL_CERT_FILE&amp;#x27;] &#x3D; certifi.where() 大功告成"> <meta name="description" content="记录一下,解决办法很简单,网上都是废话: 设置,需要注意的certifi不是标准库需要额外安装 1234import osimport certifios.environ[&amp;#x27;SSL_CERT_FILE&amp;#x27;] &#x3D; certifi.where() 大功告成">
<meta property="og:type" content="article"> <meta property="og:type" content="article">
<meta property="og:title" content="Python证书链出问题导致的模块全部报错"> <meta property="og:title" content="Python证书链出问题导致的模块全部报错">
<meta property="og:url" content="https://blog.ianxia.com/2024/10/30/Python%E8%AF%81%E4%B9%A6%E9%93%BE%E5%87%BA%E9%97%AE%E9%A2%98%E5%AF%BC%E8%87%B4%E7%9A%84%E6%A8%A1%E5%9D%97%E5%85%A8%E9%83%A8%E6%8A%A5%E9%94%99/index.html"> <meta property="og:url" content="https://blog.ianxia.com/2024/10/30/Python%E8%AF%81%E4%B9%A6%E9%93%BE%E5%87%BA%E9%97%AE%E9%A2%98%E5%AF%BC%E8%87%B4%E7%9A%84%E6%A8%A1%E5%9D%97%E5%85%A8%E9%83%A8%E6%8A%A5%E9%94%99/index.html">
<meta property="og:site_name" content="Code The World"> <meta property="og:site_name" content="Code The World">
<meta property="og:description" content="记录一下,解决办法很简单,网上都是废话: 设置,需要注意的certifi不是标准库需要额外安装 1234import osimport certifios.environ[&amp;#x27;SSL_CERT_FILE&amp;#x27;] &#x3D; certifi.where() 大功告成"> <meta property="og:description" content="记录一下,解决办法很简单,网上都是废话: 设置,需要注意的certifi不是标准库需要额外安装 1234import osimport certifios.environ[&amp;#x27;SSL_CERT_FILE&amp;#x27;] &#x3D; certifi.where() 大功告成">
<meta property="og:locale"> <meta property="og:locale">
<meta property="article:published_time" content="2024-10-30T14:57:27.000Z"> <meta property="article:published_time" content="2024-10-30T14:57:27.000Z">
<meta property="article:modified_time" content="2024-10-30T15:00:40.640Z"> <meta property="article:modified_time" content="2024-10-30T15:03:38.352Z">
<meta property="article:author" content="Bigsk"> <meta property="article:author" content="Bigsk">
<meta property="article:tag" content="技术"> <meta property="article:tag" content="技术">
<meta name="twitter:card" content="summary"> <meta name="twitter:card" content="summary">
@ -217,14 +217,14 @@
<div id="expire-alert" class="alert alert-warning hidden" role="alert"> <div id="expire-alert" class="alert alert-warning hidden" role="alert">
<div class="icon"><i class="fa fa-warning"></i></div> <div class="icon"><i class="fa fa-warning"></i></div>
<div class="text"><p>本文最后编辑于 <time datetime="1730300440640"></time> 前,其中的内容可能需要更新。</p></div> <div class="text"><p>本文最后编辑于 <time datetime="1730300618352"></time> 前,其中的内容可能需要更新。</p></div>
</div> </div>
<hr /> <hr />
<div itemprop="articleBody"><p>记录一下,解决办法很简单,网上都是废话:</p> <div itemprop="articleBody"><p>记录一下,解决办法很简单,网上都是废话:</p>
<p>设置,需要注意的certifi不是标准库需要额外安装</p> <p>设置,需要注意的certifi不是标准库需要额外安装</p>
<figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">import os</span><br><span class="line">import certifi</span><br><span class="line"></span><br><span class="line">os.environ[&#x27;SSL_CERT_FILE&#x27;] = certifi.where()</span><br></pre></td></tr></table></figure> <figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">import os</span><br><span class="line">import certifi</span><br><span class="line"></span><br><span class="line">os.environ[&#x27;SSL_CERT_FILE&#x27;] = certifi.where()</span><br></pre></td></tr></table></figure>
<p>大功告成</p> <p>大功告成</p>
@ -296,7 +296,7 @@
const hostUrl = "https://blog.ianxia.com/2024/10/30/Python%E8%AF%81%E4%B9%A6%E9%93%BE%E5%87%BA%E9%97%AE%E9%A2%98%E5%AF%BC%E8%87%B4%E7%9A%84%E6%A8%A1%E5%9D%97%E5%85%A8%E9%83%A8%E6%8A%A5%E9%94%99/"; const hostUrl = "https://blog.ianxia.com/2024/10/30/Python%E8%AF%81%E4%B9%A6%E9%93%BE%E5%87%BA%E9%97%AE%E9%A2%98%E5%AF%BC%E8%87%B4%E7%9A%84%E6%A8%A1%E5%9D%97%E5%85%A8%E9%83%A8%E6%8A%A5%E9%94%99/";
const title = "「Python证书链出问题导致的模块全部报错」"; const title = "「Python证书链出问题导致的模块全部报错」";
const excerpt = `记录一下,解决办法很简单,网上都是废话: const excerpt = `记录一下,解决办法很简单,网上都是废话:
设置,需要注意的certifi不是标准库需要额外安装 设置,需要注意的certifi不是标准库需要额外安装
1234import osimport certifios.environ[&#x27;SSL_CERT_FILE&#x27;] =...`; 1234import osimport certifios.environ[&#x27;SSL_CERT_FILE&#x27;] =...`;
let _URL; let _URL;
switch (dest) { switch (dest) {
@ -319,7 +319,7 @@
<a class="tag-none-link" href="/tags/%E6%8A%80%E6%9C%AF/" rel="tag">技术</a> <a class="tag-none-link" href="/tags/%E6%8A%80%E6%9C%AF/" rel="tag">技术</a>
</div> </div>
<div class="pull-date"> <div class="pull-date">
<time datetime="2024-10-30T15:00:40.640Z" itemprop="dateModified">最后编辑2024-10-30</time> <time datetime="2024-10-30T15:03:38.352Z" itemprop="dateModified">最后编辑2024-10-30</time>
</div> </div>
</div> </div>
</footer> </footer>

View File

@ -229,7 +229,7 @@
<p itemProp="description"> <p itemProp="description">
记录一下,解决办法很简单,网上都是废话: 记录一下,解决办法很简单,网上都是废话:
设置,需要注意的certifi不是标准库需要额外安装 设置,需要注意的certifi不是标准库需要额外安装
1234import osimport certifios.environ[&#x27;SSL_CERT_FILE&#x27;] =... 1234import osimport certifios.environ[&#x27;SSL_CERT_FILE&#x27;] =...
</p> </p>

View File

@ -205,7 +205,7 @@
<p itemProp="description"> <p itemProp="description">
记录一下,解决办法很简单,网上都是废话: 记录一下,解决办法很简单,网上都是废话:
设置,需要注意的certifi不是标准库需要额外安装 设置,需要注意的certifi不是标准库需要额外安装
1234import osimport certifios.environ[&#x27;SSL_CERT_FILE&#x27;] =... 1234import osimport certifios.environ[&#x27;SSL_CERT_FILE&#x27;] =...
</p> </p>

File diff suppressed because one or more lines are too long

View File

@ -224,7 +224,7 @@
<p itemProp="description"> <p itemProp="description">
记录一下,解决办法很简单,网上都是废话: 记录一下,解决办法很简单,网上都是废话:
设置,需要注意的certifi不是标准库需要额外安装 设置,需要注意的certifi不是标准库需要额外安装
1234import osimport certifios.environ[&#x27;SSL_CERT_FILE&#x27;] =... 1234import osimport certifios.environ[&#x27;SSL_CERT_FILE&#x27;] =...
</p> </p>

View File

@ -54,7 +54,7 @@
</ul> </ul>
<p>For more information on SemVer, please visit <a href="http://semver.org/">http://semver.org</a>.</p> <p>For more information on SemVer, please visit <a href="http://semver.org/">http://semver.org</a>.</p>
<h2 id="Author"><a href="#Author" class="headerlink" title="Author"></a>Author</h2><ul> <h2 id="Author"><a href="#Author" class="headerlink" title="Author"></a>Author</h2><ul>
<li>Email: <a href="mailto:&#x64;&#97;&#x76;&#101;&#x40;&#102;&#111;&#x6e;&#116;&#x61;&#x77;&#x65;&#115;&#x6f;&#109;&#101;&#46;&#105;&#x6f;">&#x64;&#97;&#x76;&#101;&#x40;&#102;&#111;&#x6e;&#116;&#x61;&#x77;&#x65;&#115;&#x6f;&#109;&#101;&#46;&#105;&#x6f;</a></li> <li>Email: <a href="mailto:&#x64;&#x61;&#x76;&#x65;&#64;&#102;&#x6f;&#x6e;&#x74;&#x61;&#x77;&#101;&#115;&#x6f;&#x6d;&#101;&#46;&#105;&#111;">&#x64;&#x61;&#x76;&#x65;&#64;&#102;&#x6f;&#x6e;&#x74;&#x61;&#x77;&#101;&#115;&#x6f;&#x6d;&#101;&#46;&#105;&#111;</a></li>
<li>Twitter: <a href="http://twitter.com/davegandy">http://twitter.com/davegandy</a></li> <li>Twitter: <a href="http://twitter.com/davegandy">http://twitter.com/davegandy</a></li>
<li>GitHub: <a href="https://github.com/davegandy">https://github.com/davegandy</a></li> <li>GitHub: <a href="https://github.com/davegandy">https://github.com/davegandy</a></li>
</ul> </ul>