Python SSL "No module named _ssl2"
by
hedley
—
posted on
May 12, 2008 01:23 PM
—
last modified
May 12, 2008 01:23 PM
If you compile SSL support for Python from source you may run into the "No module named _ssl2" problem.
The solution is really simple. Go to ${PYTHON_HOME}/lib/python2.4/site-packages/ssl and delete the __init__.pyc file. Now fire up a Python shell and try "import ssl" again.






