smtplib

Matthew King matt at avaquest.com
Sun Dec 9 22:19:07 EST 2001


Senthil Kumar wrote:

> ImportError: No module named _socket
> 
> I am not sure if this is bug or or I missed something during my python
> compilation.


I'm not sure why, but it looks like the _socket module was not built 
when you compiled python.  In 2.1.1, setup.py is supposed to get this 
right...  if you uncomment the _socket line in Modules/Setup and 
recompile I'm fairly sure things should work for you.

Maybe someone else can give the details as to why this is happening...

- matt




More information about the Python-list mailing list