久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

      <bdo id='1HGJ3'></bdo><ul id='1HGJ3'></ul>
    <legend id='1HGJ3'><style id='1HGJ3'><dir id='1HGJ3'><q id='1HGJ3'></q></dir></style></legend>
  1. <tfoot id='1HGJ3'></tfoot>
  2. <small id='1HGJ3'></small><noframes id='1HGJ3'>

  3. <i id='1HGJ3'><tr id='1HGJ3'><dt id='1HGJ3'><q id='1HGJ3'><span id='1HGJ3'><b id='1HGJ3'><form id='1HGJ3'><ins id='1HGJ3'></ins><ul id='1HGJ3'></ul><sub id='1HGJ3'></sub></form><legend id='1HGJ3'></legend><bdo id='1HGJ3'><pre id='1HGJ3'><center id='1HGJ3'></center></pre></bdo></b><th id='1HGJ3'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='1HGJ3'><tfoot id='1HGJ3'></tfoot><dl id='1HGJ3'><fieldset id='1HGJ3'></fieldset></dl></div>

    1. CentOS 5.2 上的 Python 2.6 中缺少 HTTPSConnection 模塊

      HTTPSConnection module missing in Python 2.6 on CentOS 5.2(CentOS 5.2 上的 Python 2.6 中缺少 HTTPSConnection 模塊)
      <i id='05oTA'><tr id='05oTA'><dt id='05oTA'><q id='05oTA'><span id='05oTA'><b id='05oTA'><form id='05oTA'><ins id='05oTA'></ins><ul id='05oTA'></ul><sub id='05oTA'></sub></form><legend id='05oTA'></legend><bdo id='05oTA'><pre id='05oTA'><center id='05oTA'></center></pre></bdo></b><th id='05oTA'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='05oTA'><tfoot id='05oTA'></tfoot><dl id='05oTA'><fieldset id='05oTA'></fieldset></dl></div>
        <bdo id='05oTA'></bdo><ul id='05oTA'></ul>
        <legend id='05oTA'><style id='05oTA'><dir id='05oTA'><q id='05oTA'></q></dir></style></legend>

              <tbody id='05oTA'></tbody>
            1. <tfoot id='05oTA'></tfoot>

              <small id='05oTA'></small><noframes id='05oTA'>

                本文介紹了CentOS 5.2 上的 Python 2.6 中缺少 HTTPSConnection 模塊的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                我正在 CentOS 5.2 上使用 Python 應用程序.它使用 Boto 模塊與 Amazon Web Services 進行通信,這需要通過 HTTPS 連接進行通信.

                I'm playing around with a Python application on CentOS 5.2. It uses the Boto module to communicate with Amazon Web Services, which requires communication through a HTTPS connection.

                當我嘗試運行我的應用程序時,我收到一個關于缺少 HTTPSConnection 的錯誤:"AttributeError: 'module' 對象沒有屬性 'HTTPSConnection'"

                When I try running my application I get an error regarding HTTPSConnection being missing: "AttributeError: 'module' object has no attribute 'HTTPSConnection'"

                Google 并沒有真正返回任何相關信息,我已經嘗試了大多數解決方案,但都沒有解決問題.

                Google doesn't really return anything relevant, I've tried most of the solutions but none of them solve the problem.

                有沒有人遇到過類似的事情?

                Has anyone come across anything like it?

                這是回溯:

                Traceback (most recent call last):
                File "./chatter.py", line 114, in <module>
                    sys.exit(main())
                File "./chatter.py", line 92, in main
                    chatter.status( )
                File "/mnt/application/chatter/__init__.py", line 161, in status
                    cQueue.connect()
                File "/mnt/application/chatter/tools.py", line 42, in connect
                    self.connection = SQSConnection(cConfig.get("AWS", "KeyId"), cConfig.get("AWS", "AccessKey"));
                File "/usr/local/lib/python2.6/site-packages/boto-1.7a-py2.6.egg/boto/sqs/connection.py", line 54, in __init__
                    self.region.endpoint, debug, https_connection_factory)
                File "/usr/local/lib/python2.6/site-packages/boto-1.7a-py2.6.egg/boto/connection.py", line 418, in __init__
                    debug,  https_connection_factory)
                File "/usr/local/lib/python2.6/site-packages/boto-1.7a-py2.6.egg/boto/connection.py", line 189, in __init__
                    self.refresh_http_connection(self.server, self.is_secure)
                File "/usr/local/lib/python2.6/site-packages/boto-1.7a-py2.6.egg/boto/connection.py", line 247, in refresh_http_connection
                    connection = httplib.HTTPSConnection(host)
                AttributeError: 'module' object has no attribute 'HTTPSConnection'
                

                推薦答案

                引用自python文檔(http://docs.python.org/library/httplib.html):

                citing from the python documentation (http://docs.python.org/library/httplib.html):

                注意 HTTPS 支持僅在套接字模塊使用 SSL 支持編譯時可用.

                Note HTTPS support is only available if the socket module was compiled with SSL support.

                您應該了解您使用的 CentOS 上的 python 是如何構建的.

                You should find out how python on the CentOS you are using was built.

                這篇關于CentOS 5.2 上的 Python 2.6 中缺少 HTTPSConnection 模塊的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                相關文檔推薦

                python: Two modules and classes with the same name under different packages(python:不同包下同名的兩個模塊和類)
                Configuring Python to use additional locations for site-packages(配置 Python 以使用站點包的其他位置)
                How to structure python packages without repeating top level name for import(如何在不重復導入頂級名稱的情況下構造python包)
                Install python packages on OpenShift(在 OpenShift 上安裝 python 包)
                How to refresh sys.path?(如何刷新 sys.path?)
                Distribute a Python package with a compiled dynamic shared library(分發帶有已編譯動態共享庫的 Python 包)
                • <bdo id='8GmRH'></bdo><ul id='8GmRH'></ul>
                  <tfoot id='8GmRH'></tfoot>
                • <small id='8GmRH'></small><noframes id='8GmRH'>

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

                      <legend id='8GmRH'><style id='8GmRH'><dir id='8GmRH'><q id='8GmRH'></q></dir></style></legend>

                          主站蜘蛛池模板: 97视频成人 | 美女久久 | 久久免费精品 | 成人免费xxxxx在线视频 | 国产成人综合在线 | 亚洲+变态+欧美+另类+精品 | 亚洲国产91 | 不卡一区二区三区四区 | 国产高清无av久久 | 视频一二区 | 日韩中文字幕免费 | 日本一区二区三区在线观看 | 青青久久 | 国产成人精品一区二区三 | 精品少妇v888av| 欧美综合一区 | 草草视频在线观看 | 国产精品久久久久久久久久久久久 | 亚洲九九 | 国产乱码精品一区二区三区忘忧草 | 中文字幕一区在线 | 午夜小视频在线观看 | 嫩草最新网址 | 夜夜艹| 久久久久九九九女人毛片 | 精品亚洲永久免费精品 | 伊人91在线 | 日韩综合在线播放 | 久久久国产一区 | 精品国产一区二区国模嫣然 | 久久久久久国产 | 日韩精品| 久久久久国产一区二区三区四区 | 本道综合精品 | 91麻豆精品国产91久久久久久久久 | 在线视频一区二区 | 人人艹人人 | 欧美精品一区二区在线观看 | 久久成人精品 | 欧美一级黄色片在线观看 | 午夜影视免费片在线观看 |