Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Alex Naumov Newsgroups: comp.lang.python Subject: Re: HTTPSConnection from http.client? Date: Tue, 17 Nov 2015 13:34:56 +0100 Lines: 39 Sender: posix.ru@gmail.com Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de BPMcWY+Apg2ZT0ftSVIvEwKmVXDXUhGhRF6c/UWPI5Pw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.018 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'error:': 0.05; 'importerror:': 0.05; 'https': 0.09; 'python': 0.10; 'packages.': 0.15; 'http.client': 0.16; 'module?': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'sender:addr:gmail.com': 0.18; 'alex': 0.18; '2015': 0.20; 'please?': 0.22; 'second': 0.24; 'tried': 0.24; 'import': 0.24; 'header:In-Reply-To:1': 0.24; 'module': 0.25; 'install': 0.25; 'message-id:@mail.gmail.com': 0.27; 'package.': 0.27; 'looks': 0.29; 'url:client': 0.29; 'there.': 0.30; 'connections': 0.30; 'minimal': 0.30; '[1]': 0.32; 'anybody': 0.32; 'url:python': 0.33; 'tue,': 0.34; 'received:google.com': 0.35; 'nov': 0.35; 'but': 0.36; 'url:org': 0.36; 'received:209.85': 0.36; 'url:library': 0.36; 'to:addr :python-list': 0.36; 'subject:?': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'missing': 0.37; 'no,': 0.38; 'received:209': 0.38; 'thank': 0.38; 'does': 0.39; 'subject:from': 0.39; 'to:addr:python.org': 0.40; 'where': 0.40; 'hello,': 0.40; 'some': 0.40; 'url:3': 0.60; 'day': 0.67; 'url:http': 0.75; 'otten': 0.84; 'subject:skip:H 10': 0.84; 'source?': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=pZrUIGdwKcB8qBEwBqeUWTX39xLLD5/Aw64tqn9Cn54=; b=H/pj7dPZAWos0lAwJ5Jm8Jmvlywzkn/oR+/AHAqKEFMZl0ecngQ/OnIjIzzMCFjqjr 76Q8s7xtbRVCBi7dP7E/QUeSWErYUt0xztoP0NpMhvu8Lk+Vghrlxyx3BV3PFbLrXTX2 JGRK25v5+QtyF5qG0TEnQ8aTmR/5RqdPAdbaz+ngjJqsma9T20wWpTForkn49vUKKPg/ MQv1HPAyoPjTGlJnanUhAhup2ZbqR+/arRb5gsKdFHKPoxgKwPWw9V4ulNADQWrIVb9f tHzunjM3vx120b733/v7dzi9V9zuFDRoPt3nhnzXBs1kloZFjCp0m+RR2i9Z5wWnHjl5 rqlA== X-Received: by 10.25.127.202 with SMTP id a193mr19002336lfd.80.1447763696433; Tue, 17 Nov 2015 04:34:56 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: Eu_FK4RwsDc8jv953Ve7vbV3xHE X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:98919 On Tue, Nov 17, 2015 at 12:22 PM, Peter Otten <__peter__@web.de> wrote: > Alex Naumov wrote: > >> Hello, >> >> does anybody know how to create a HTTPS connections in python2 or python3? >> I tried second day to do that with http.client[1], but every time get >> error: >> >> from http.client import HTTPSConnection >> ImportError: cannot import name HTTPSConnection >> >> >> Where is HTTPSConnection located? Which module? >> >> I use openSUSE 13.1 x86_64. >> >> Thank you, >> Alex >> >> >> [1] https://docs.python.org/3/library/http.client.html > > Did you compile Python from source? No, I install it as a package. > You may be missing the development > packages. Yes, it looks like some packages are not there. > On a minimal SLES-12-x86_64 installation: Can you tell me what's the name of package with http.client module please? Thank you, Alex