Dear all,
I am having a lot of trouble using programs I programmed in python 2.5 - having upgraded to 2.6 I find that every function/class that makes use of SSL receives this error:
Traceback (most recent call last):
File "<pyshell#10>", line 1, in <module>
import ssl
File "C:\Python26\lib\ssl.py", line 81, in <module>
class SSLSocket (socket):
TypeError: Error when calling the metaclass bases
function() argument 1 must be code, not str
What do I do? I need to solve this by tomorrow and have no idea what is wrong! I am a low level amateur - self-taught. I can't find any reference to this being a common problem when I google it. Help!!