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


Groups > comp.lang.python > #89923

Re: Cannot update OpenSSL for Python3

Path csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'debug': 0.07; 'error:': 0.07; 'importerror:': 0.07; 'installed.': 0.07; 'see:': 0.07; '#include': 0.09; 'cest': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'skip:/ 10': 0.09; 'subject:Python3': 0.09; 'subject:update': 0.09; 'python': 0.11; 'language.': 0.14; 'windows': 0.15; ':-(': 0.16; '__file__,': 0.16; 'extension.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'retry': 0.16; 'setuptools,': 0.16; 'skip:t 90': 0.16; 'storing': 0.16; 'language': 0.16; 'wrote:': 0.18; 'module': 0.19; 'command': 0.22; '>>>': 0.22; 'python?': 0.22; 'install': 0.23; 'header:User- Agent:1': 0.23; 'error': 0.23; 'headers': 0.24; 'mon,': 0.24; 'switch': 0.26; 'gets': 0.27; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; '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; 'monday': 0.35; 'should': 0.36; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'that,': 0.38; 'to:addr:python.org': 0.39; 'enough': 0.39; 'received:org': 0.40; 'users': 0.40; 'how': 0.40; 'easy': 0.60; 'skip:o 30': 0.61; 'such': 0.63; 'our': 0.64; 'charset:windows-1252': 0.65; 'family': 0.73; '2015': 0.84; 'archaic': 0.84; 'skip:/ 30': 0.84; 'try,': 0.84; '"apt-get': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Cannot update OpenSSL for Python3
Date Mon, 04 May 2015 19:04:18 +0100
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> <mailman.89.1430749136.12865.python-list@python.org> <87vbg8idhk.fsf@Equus.decebal.nl>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host host-92-24-223-224.ppp.as43234.net
User-Agent Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
In-Reply-To <87vbg8idhk.fsf@Equus.decebal.nl>
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.100.1430762705.12865.python-list@python.org> (permalink)
Lines 40
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1430762705 news.xs4all.nl 2860 [2001:888:2000:d::a6]:50085
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:89923

Show key headers only | View raw


On 04/05/2015 16:11, Cecil Westerhof wrote:
> Op Monday 4 May 2015 16:18 CEST schreef Chris Angelico:
>
>> 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.
>
> I should have thought about that myself. :-(
>

An alternative is to switch to Windows and do away with this archaic 
concept of users having to build code :)

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

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