Re: Cannot update OpenSSL for Python3

2015-05-04 Thread Irmen de Jong
On 4-5-2015 21:52, Cecil Westerhof wrote: > But I keep getting the error. Only 2 lines earlier: > >>> import urllib3.contrib.pyopenssl > Traceback (most recent call last): > File "", line 1, in > File "/usr/lib/python3.4/site-packages/urllib3/contrib/pyopenssl.py", > line 56,

Re: Cannot update OpenSSL for Python3

2015-05-04 Thread Mark Lawrence
On 04/05/2015 09:58, Cecil Westerhof wrote: But when I do: import urllib3.contrib.pyopenssl I get: Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.4/site-packages/urllib3/contrib/pyopenssl.py", line 55, in import OpenSSL.SSL

Re: Cannot update OpenSSL for Python3

2015-05-04 Thread Cecil Westerhof
Op Monday 4 May 2015 21:02 CEST schreef Irmen de Jong: > On 4-5-2015 19:19, Cecil Westerhof wrote: > >> It looks like I am encircled by Gremlins: > import urllib3.contrib.pyopenssl >> Traceback (most recent call last): File "", line 1, in >> File >> "/usr/lib/python3.4/site-packages/urllib3/c

Re: Cannot update OpenSSL for Python3

2015-05-04 Thread Cecil Westerhof
Op Monday 4 May 2015 20:04 CEST schreef Mark Lawrence: > An alternative is to switch to Windows and do away with this archaic > concept of users having to build code :) Well, maybe I get rid of some problems. But the ones I get back … -- Cecil Westerhof Senior Software Engineer LinkedIn: http:/

Re: Cannot update OpenSSL for Python3

2015-05-04 Thread Irmen de Jong
On 4-5-2015 19:19, Cecil Westerhof wrote: > It looks like I am encircled by Gremlins: > >>> import urllib3.contrib.pyopenssl > Traceback (most recent call last): > File "", line 1, in > File "/usr/lib/python3.4/site-packages/urllib3/contrib/pyopenssl.py", > line 58, in >

Re: Cannot update OpenSSL for Python3

2015-05-04 Thread Mark Lawrence
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 wrote: That gets installed. And then I get: ImportError: No module named 'cryptography' So I try to install that. This gives: Command /usr/bin/

Re: Cannot update OpenSSL for Python3

2015-05-04 Thread Chris Angelico
On Tue, May 5, 2015 at 3:19 AM, Cecil Westerhof wrote: > It looks like I am encircled by Gremlins: > >>> import urllib3.contrib.pyopenssl > Traceback (most recent call last): > File "", line 1, in > File "/usr/lib/python3.4/site-packages/urllib3/contrib/pyopenssl.py", > line

Re: Cannot update OpenSSL for Python3

2015-05-04 Thread Cecil Westerhof
Op Monday 4 May 2015 18:03 CEST schreef Chris Angelico: > On Tue, May 5, 2015 at 1:11 AM, Cecil Westerhof wrote: >> Now I get: c/../_cffi1/ffi_obj.c:489:5: error: ISO C90 forbids >> mixed declarations and code [-Werror=declaration-after-statement] >> PyObject *u = PyUnicode_DecodeLatin1(PyBytes_A

Re: Cannot update OpenSSL for Python3

2015-05-04 Thread Chris Angelico
On Tue, May 5, 2015 at 1:11 AM, Cecil Westerhof wrote: > Now I get: > c/../_cffi1/ffi_obj.c:489:5: error: ISO C90 forbids mixed declarations > and code [-Werror=declaration-after-statement] > PyObject *u = PyUnicode_DecodeLatin1(PyBytes_AS_STRING(res), > ^ > cc1: some wa

Re: Cannot update OpenSSL for Python3

2015-05-04 Thread Cecil Westerhof
Op Monday 4 May 2015 16:18 CEST schreef Chris Angelico: > On Mon, May 4, 2015 at 11:13 PM, Cecil Westerhof 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, >

Re: Cannot update OpenSSL for Python3

2015-05-04 Thread Chris Angelico
On Mon, May 4, 2015 at 11:13 PM, Cecil Westerhof 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/se

Re: Cannot update OpenSSL for Python3

2015-05-04 Thread Cecil Westerhof
Op Monday 4 May 2015 14:14 CEST schreef Chris Angelico: > On Mon, May 4, 2015 at 9:32 PM, Cecil Westerhof wrote: >>> Does 'pip3 install -U pyOpenSSL' work? >> Not really, because that gives: Requirement already up-to-date: >> pyOpenSSL in /usr/lib64/python3.4/site-packages Cleaning up... > > I do

Re: Cannot update OpenSSL for Python3

2015-05-04 Thread Chris Angelico
On Mon, May 4, 2015 at 9:32 PM, Cecil Westerhof wrote: >> Does 'pip3 install -U pyOpenSSL' work? > Not really, because that gives: > Requirement already up-to-date: pyOpenSSL in > /usr/lib64/python3.4/site-packages > Cleaning up... I don't know why it wasn't automatically installed, but

Re: Cannot update OpenSSL for Python3

2015-05-04 Thread Cecil Westerhof
Op Monday 4 May 2015 12:10 CEST schreef Chris Angelico: > On Mon, May 4, 2015 at 6:58 PM, Cecil Westerhof wrote: >> When I then give: pip3 install -U OpenSSL It goes wrong: Could not >> fetch URL https://pypi.python.org/simple/OpenSSL/: 404 Client >> Error: Not Found >> >> I checked and even >> h

Re: Cannot update OpenSSL for Python3

2015-05-04 Thread Chris Angelico
On Mon, May 4, 2015 at 6:58 PM, Cecil Westerhof wrote: > When I then give: > pip3 install -U OpenSSL > It goes wrong: > Could not fetch URL https://pypi.python.org/simple/OpenSSL/: 404 Client > Error: Not Found > > I checked and even > https://pypi.python.org/simple/ > does not exist.