any solution <urlopen error unknown url type: https>

  • I'm getting <urlopen error unknown url type: https> for https stream links,
    any solution advise would be appreciated.


    Ps.Python 2.6.7 (r267:88850)


    thanks in advance.

  • I have found solution myself, if someone needsİ;


    added textwrap.py to /usr/lib/python2.6


    and edited /usr/lib/python2.6/config/Setup file


    from

    Code
    # Socket module helper for SSL support; you must comment out the other
    # socket line above, and possibly edit the SSL variable:
    #SSL=/usr/local/ssl
    #_ssl _ssl.c \
    #	-DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
    #	-L$(SSL)/lib -lssl -lcrypto


    to

    Code
    # Socket module helper for SSL support; you must comment out the other
    # socket line above, and possibly edit the SSL variable:
    SSL=/usr/local/ssl
    _ssl _ssl.c \
    	-DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
    	-L$(SSL)/lib -lssl -lcrypto


    restart the gui


    thanks to http://paltman.com/2007/11/15/…sl-support-in-python-251/