All of lore.kernel.org
 help / color / mirror / Atom feed
From: pborut123 <pborut123@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] Version 2016.05: Python 3.5.1. Building python packages . error: Download error on https://pypi.python.org/simple/: unknown url type: https
Date: Mon, 04 Jul 2016 17:06:46 +0200	[thread overview]
Message-ID: <577A7B86.2030001@gmail.com> (raw)

Hello,
Searching for solution I've found that this error is connected with ssl 
access in buildroot's host python3 installation.
If I run exact python3 from buildroot (./output/host/usr/bin/python3) 
and enter code to test https connection:

Python 3.5.1 (default, Jul  3 2016, 21:09:24)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>from urllib.request import urlopen
>>>urlopen('https://askubuntu.com').read()
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File 
"/home/pborut/strhub/2/buildroot2/output/host/usr/lib/python3.5/urllib/request.py", 
line 162, in urlopen
     return opener.open(url, data, timeout)
  ...
   File 
"/home/pborut/strhub/2/buildroot2/output/host/usr/lib/python3.5/urllib/request.py", 
line 1310, in unknown_open
     raise URLError('unknown url type: %s' % type)
urllib.error.URLError: <urlopen error unknown url type: https>

which is same error message I get while building module.

I have built buildroot configuration with python3, I have ssl option 
checked, I have openssl package also selected.

I'm running 64-bit LinuxMint vm (ubuntu) with Python3 3.4.3, works normal.

Do you have any suggestion on what else to check to get over this issue?

Best regards,
Borut.

             reply	other threads:[~2016-07-04 15:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-04 15:06 pborut123 [this message]
2016-07-04 20:44 ` [Buildroot] Version 2016.05: Python 3.5.1. Building python packages . error: Download error on https://pypi.python.org/simple/: unknown url type: https Yegor Yefremov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=577A7B86.2030001@gmail.com \
    --to=pborut123@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.