smtplib

Matthew King matt at avaquest.com
Mon Dec 10 04:19:07 CET 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