Cannot update OpenSSL for Python3

Cecil Westerhof Cecil at decebal.nl
Mon May 4 04:58:40 EDT 2015


But when I do:
    import urllib3.contrib.pyopenssl
I get:
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "/usr/lib/python3.4/site-packages/urllib3/contrib/pyopenssl.py", line 55, in <module>
        import OpenSSL.SSL
      File "/usr/lib64/python3.4/site-packages/OpenSSL/__init__.py", line 8, in <module>
        from OpenSSL import rand, crypto, SSL
      File "/usr/lib64/python3.4/site-packages/OpenSSL/rand.py", line 9, in <module>
        from six import integer_types as _integer_types
    ImportError: No module named 'six'

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. Anyone an idea what is happening here?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof



More information about the Python-list mailing list