Open drelu opened 12 years ago
I am not really sure what that means. Should that be installed by default, or did some BigJob dependency fail? Or do you want me to install it additionally?
This is needed for the Globus Online Python client. Usually ssl.py is part of the standard Python distribution. I assume that something during the Python configure/make went wrong. These commands should work with a correctly installed Python:
(python)tg804093@login2 ~$ python
Python 2.7.1 (r271:86832, May 30 2011, 06:24:42)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/share1/projects/xsede/SAGA/external/python/2.7.1/gcc-4.1.2/lib/python2.7/ssl.py", line 60, in <module>
import _ssl # if we can't import it, let the error propagate
ImportError: No module named _ssl
I think I need some help here. Python configure options don't mention ssl. Configure finishes w/o warning. Compile finishes w/o error, and tells me::
Python build finished, but the necessary bits to build these modules were not found:
bsddb bsddb185 dbm
dl gdbm imageop
The module itself seems to be available:
login1$ cd external/python/ login1$ du -a | grep -i ssl 16 ./2.7.1/gcc-4.1.2/lib/python2.7/ssl.py 48 ./2.7.1/gcc-4.1.2/lib/python2.7/test/test_ssl.pyc 4 ./2.7.1/gcc-4.1.2/lib/python2.7/test/ssl_cert.pem 4 ./2.7.1/gcc-4.1.2/lib/python2.7/test/ssl_key.pem 60 ./2.7.1/gcc-4.1.2/lib/python2.7/test/test_ssl.py 48 ./2.7.1/gcc-4.1.2/lib/python2.7/test/test_ssl.pyo 16 ./2.7.1/gcc-4.1.2/lib/python2.7/ssl.pyo 16 ./2.7.1/gcc-4.1.2/lib/python2.7/ssl.pyc
But it indeed does not load (same error as you see).
Sooo, any idea how to debug this?
Thanks, Andre.