1. <legend id='wDEII'><style id='wDEII'><dir id='wDEII'><q id='wDEII'></q></dir></style></legend>

        <tfoot id='wDEII'></tfoot>
          <bdo id='wDEII'></bdo><ul id='wDEII'></ul>
        <i id='wDEII'><tr id='wDEII'><dt id='wDEII'><q id='wDEII'><span id='wDEII'><b id='wDEII'><form id='wDEII'><ins id='wDEII'></ins><ul id='wDEII'></ul><sub id='wDEII'></sub></form><legend id='wDEII'></legend><bdo id='wDEII'><pre id='wDEII'><center id='wDEII'></center></pre></bdo></b><th id='wDEII'></th></span></q></dt></tr></i><div id='wDEII'><tfoot id='wDEII'></tfoot><dl id='wDEII'><fieldset id='wDEII'></fieldset></dl></div>

      1. <small id='wDEII'></small><noframes id='wDEII'>

        pip install failed with SSL certificate verify failed (_ssl.

        pip install fail with SSL certificate verify failed (_ssl.c:833)(pip install failed with SSL certificate verify failed (_ssl.c:833))

        • <legend id='trgKU'><style id='trgKU'><dir id='trgKU'><q id='trgKU'></q></dir></style></legend>
          • <bdo id='trgKU'></bdo><ul id='trgKU'></ul>

              <i id='trgKU'><tr id='trgKU'><dt id='trgKU'><q id='trgKU'><span id='trgKU'><b id='trgKU'><form id='trgKU'><ins id='trgKU'></ins><ul id='trgKU'></ul><sub id='trgKU'></sub></form><legend id='trgKU'></legend><bdo id='trgKU'><pre id='trgKU'><center id='trgKU'></center></pre></bdo></b><th id='trgKU'></th></span></q></dt></tr></i><div id='trgKU'><tfoot id='trgKU'></tfoot><dl id='trgKU'><fieldset id='trgKU'></fieldset></dl></div>
                <tbody id='trgKU'></tbody>

                <small id='trgKU'></small><noframes id='trgKU'>

                <tfoot id='trgKU'></tfoot>

                  本文介绍了pip install failed with SSL certificate verify failed (_ssl.c:833)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我无法通过 pip install 安装任何外部 python 模块.我已经正确安装了 python,但是如果我使用 pip_install 它会显示这个错误.

                  I am not able to install any external python module through pip install. I have installed python correctly but if I use pip_install it shows me this error.

                  这是我运行 pip install pytesseract

                   C:Users190560>pip install pytesseract
                  Collecting pytesseract
                    Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)'),)': /simple/pytesseract/
                    Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)'),)': /simple/pytesseract/
                    Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)'),)': /simple/pytesseract/
                    Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)'),)': /simple/pytesseract/
                    Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)'),)': /simple/pytesseract/
                    Could not fetch URL https://pypi.org/simple/pytesseract/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pytesseract/ (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)'),)) - skipping
                    Could not find a version that satisfies the requirement pytesseract (from versions: )
                  No matching distribution found for pytesseract
                  Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)'),)) - skipping
                  

                  我该如何解决这个问题??

                  How do I solve this problem??

                  使用这个命令我可以部分解决问题

                  I can partially solve the problem by using this command

                  pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org <package_name>
                  

                  但我无法在我的计算机上找到任何 pip.ini 文件夹,如建议的那样这个问题在这里

                  but I cannot find any pip.ini folder on my computer as suggested by this question here

                  有什么建议可以永久解决这个问题吗?

                  Any suggestions to fix this problem permanently??

                  推荐答案

                  我在需要代理访问外部网络的公司网络中遇到了类似的问题.在这种情况下,我们必须告诉 pip 代理:

                  I have experienced similar issues when I am in a corporate network where a proxy is required for external network access. In this case, we'll have to tell pip the proxy:

                  pip --proxy=http://your.corporate.proxy.com  install pytesseract
                  

                  另一个可能的原因是由于 pypi 域更改.在这种情况下,您可以尝试以下解决方案:

                  Another possible cause is due to the pypi domain change. In this case, you can try the solution as below:

                  pip --index-url=http://pypi.python.org/simple/ --trusted-host pypi.python.org install pytesseract
                  

                  另一个类似的案例,答案很好:pip 总是无法通过 ssl 验证

                  Another similar case with an excellent answer: pip always fails ssl verification

                  这篇关于pip install failed with SSL certificate verify failed (_ssl.c:833)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  What happens when you compare 2 pandas Series(当你比较 2 个 pandas 系列时会发生什么)
                  Quickly find differences between two large text files(快速查找两个大文本文件之间的差异)
                  Python - Compare 2 files and output differences(Python - 比较 2 个文件和输出差异)
                  Why do comparisions between very large float values fail in python?(为什么在 python 中非常大的浮点值之间的比较会失败?)
                  Dictionary merge by updating but not overwriting if value exists(字典通过更新合并,但如果值存在则不覆盖)
                  Find entries of one text file in another file in python(在python中的另一个文件中查找一个文本文件的条目)
                    <tbody id='dtj0z'></tbody>

                    <small id='dtj0z'></small><noframes id='dtj0z'>

                  • <i id='dtj0z'><tr id='dtj0z'><dt id='dtj0z'><q id='dtj0z'><span id='dtj0z'><b id='dtj0z'><form id='dtj0z'><ins id='dtj0z'></ins><ul id='dtj0z'></ul><sub id='dtj0z'></sub></form><legend id='dtj0z'></legend><bdo id='dtj0z'><pre id='dtj0z'><center id='dtj0z'></center></pre></bdo></b><th id='dtj0z'></th></span></q></dt></tr></i><div id='dtj0z'><tfoot id='dtj0z'></tfoot><dl id='dtj0z'><fieldset id='dtj0z'></fieldset></dl></div>

                      <tfoot id='dtj0z'></tfoot>

                      • <bdo id='dtj0z'></bdo><ul id='dtj0z'></ul>
                        <legend id='dtj0z'><style id='dtj0z'><dir id='dtj0z'><q id='dtj0z'></q></dir></style></legend>