root@dm800se:/usr/lib# python Python 2.6.6 (r266:84292, Dec 5 2012, 22:03:54) [GCC 4.4.4] on linux3 Type "help", "copyright", "credits" or "license" for more information. >>> import _ssl >>> import httplib >>> hasattr(httplib, 'HTTPS') False >>> import socket >>> hasattr(socket, 'ssl') True >>>
I had solved the error for other image by editing
/usr/lib/python2.6/config/Setup
from
# 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
# 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
but in openpli no file /usr/lib/python2.6/config/Setup
any solution would be appreciated.