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


Groups > comp.lang.python > #89905

Re: Cannot update OpenSSL for Python3

Path csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'debug': 0.07; 'error:': 0.07; 'importerror:': 0.07; 'installed.': 0.07; 'see:': 0.07; '#include': 0.09; 'skip:/ 10': 0.09; 'subject:Python3': 0.09; 'subject:update': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; '__file__,': 0.16; 'extension.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'retry': 0.16; 'setuptools,': 0.16; 'skip:t 90': 0.16; 'storing': 0.16; 'wrote:': 0.18; 'module': 0.19; 'command': 0.22; 'python?': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; 'error': 0.23; 'headers': 0.24; 'mon,': 0.24; 'cc:2**0': 0.24; 'gets': 0.27; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'getting': 0.31; "skip:' 10": 0.31; 'that.': 0.31; 'file': 0.32; 'probably': 0.32; 'skip:- 30': 0.32; 'something': 0.35; 'received:google.com': 0.35; 'pm,': 0.38; 'that,': 0.38; 'enough': 0.39; 'how': 0.40; 'easy': 0.60; 'skip:o 30': 0.61; 'such': 0.63; 'family': 0.73; '2015': 0.84; 'skip:/ 30': 0.84; 'try,': 0.84; '"apt-get': 0.91; 'to:none': 0.92
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type:content-transfer-encoding; bh=29N2gHqRt0LPHXKR2xUjFGp6B8Q/BP6+/YAwWAyjIrM=; b=BKc18VqBMvxbFhZSLf70hIgQ6/yau6LISGelQow5MucznlYkO1jz0YZmirgpekofMz rsiiALnECs7R69sfh+aIRnbM+pEbwJBIaaf5QF8EbBkoMSWseoAsvcMJdT5uXMmetE2L 4AXY5nyMvSjq5sr7KpkKP+S2Vcq546rjX4SSOgHpkdroFUHA+pPTp11JsdoRZfYqOl++ IJugGDJvMKEbFzaslLjkgCAfbQRc+ClS8SdBLitkmW/dHg+tg0sWJ2eOr+s5MEXKi81S RU/IBB6F7zlD0ki6KBse0/UysGxVVVHnL8efCtWsCu0fiS04cx7W+9f/JgfKQYtcDE8z Skww==
MIME-Version 1.0
X-Received by 10.42.43.199 with SMTP id y7mr8785933ice.12.1430749133368; Mon, 04 May 2015 07:18:53 -0700 (PDT)
In-Reply-To <874mnsjxju.fsf@Equus.decebal.nl>
References <87k2wok9bz.fsf@Equus.decebal.nl> <mailman.80.1430734238.12865.python-list@python.org> <878ud4k270.fsf@Equus.decebal.nl> <mailman.84.1430741703.12865.python-list@python.org> <874mnsjxju.fsf@Equus.decebal.nl>
Date Tue, 5 May 2015 00:18:53 +1000
Subject Re: Cannot update OpenSSL for Python3
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.89.1430749136.12865.python-list@python.org> (permalink)
Lines 27
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1430749136 news.xs4all.nl 2903 [2001:888:2000:d::a6]:37307
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:89905

Show key headers only | View raw


On Mon, May 4, 2015 at 11:13 PM, Cecil Westerhof <Cecil@decebal.nl> wrote:
> That gets installed. And then I get:
>     ImportError: No module named 'cryptography'
>
> So I try to install that. This gives:
>     Command /usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-_7jexj87-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/cryptography
> Storing debug log for failure in /root/.pip/pip.log
>
> In the log I see:
>     c/_cffi_backend.c:2:20: fatal error: Python.h: No such file or directory
>      #include <Python.h>

Okay, that one's easy enough to deal with!

You have something that needs to build a C extension. To do that, you
need to have the Python headers installed. How did you install Python?
On Debian/Ubuntu family Linuxes, that's probably "apt-get install
python3" - so getting the headers would be "apt-get install
python3-dev". Give that a try, and then retry the pip install.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Cannot update OpenSSL for Python3 Cecil Westerhof <Cecil@decebal.nl> - 2015-05-04 10:58 +0200
  Re: Cannot update OpenSSL for Python3 Chris Angelico <rosuav@gmail.com> - 2015-05-04 20:10 +1000
    Re: Cannot update OpenSSL for Python3 Cecil Westerhof <Cecil@decebal.nl> - 2015-05-04 13:32 +0200
      Re: Cannot update OpenSSL for Python3 Chris Angelico <rosuav@gmail.com> - 2015-05-04 22:14 +1000
        Re: Cannot update OpenSSL for Python3 Cecil Westerhof <Cecil@decebal.nl> - 2015-05-04 15:13 +0200
          Re: Cannot update OpenSSL for Python3 Chris Angelico <rosuav@gmail.com> - 2015-05-05 00:18 +1000
            Re: Cannot update OpenSSL for Python3 Cecil Westerhof <Cecil@decebal.nl> - 2015-05-04 17:11 +0200
              Re: Cannot update OpenSSL for Python3 Chris Angelico <rosuav@gmail.com> - 2015-05-05 02:03 +1000
                Re: Cannot update OpenSSL for Python3 Cecil Westerhof <Cecil@decebal.nl> - 2015-05-04 19:19 +0200
                Re: Cannot update OpenSSL for Python3 Chris Angelico <rosuav@gmail.com> - 2015-05-05 03:49 +1000
                Re: Cannot update OpenSSL for Python3 Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2015-05-04 21:02 +0200
                Re: Cannot update OpenSSL for Python3 Cecil Westerhof <Cecil@decebal.nl> - 2015-05-04 21:52 +0200
                Re: Cannot update OpenSSL for Python3 Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2015-05-04 23:59 +0200
              Re: Cannot update OpenSSL for Python3 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-05-04 19:04 +0100
                Re: Cannot update OpenSSL for Python3 Cecil Westerhof <Cecil@decebal.nl> - 2015-05-04 21:54 +0200
  Re: Cannot update OpenSSL for Python3 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-05-04 21:38 +0100

csiph-web