Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #98919 > unrolled thread

Re: HTTPSConnection from http.client?

Started byAlex Naumov <alexander_naumov@opensuse.org>
First post2015-11-17 13:34 +0100
Last post2015-11-17 13:34 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: HTTPSConnection from http.client? Alex Naumov <alexander_naumov@opensuse.org> - 2015-11-17 13:34 +0100

#98919 — Re: HTTPSConnection from http.client?

FromAlex Naumov <alexander_naumov@opensuse.org>
Date2015-11-17 13:34 +0100
SubjectRe: HTTPSConnection from http.client?
Message-ID<mailman.383.1447763704.16136.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web