The following forum message was posted by pietercvdm at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/3688997:
Please try and execute the following: import socket s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) Keep on getting errors that socket.AF_INET and socket.SOCK_STREAM doesn\'t exist, when obviously it does. I have removed/readded the python interpreter/grammer. Moved the piece of code in and out of classes/packages, removed everything and had a simple script. Same thing. I\'m running on Centos 5.4, python 2.4.3. I can execute those statements fro the commandline, so I do have the packages. Eclipse Galileo. Checked the system PYTHONPATH and it does include the socket.py. I can browse the socket.py source from the IDE by pressing F3 while standing on the import socket keyword. Regards, Pieter ------------------------------------------------------------------------------ _______________________________________________ Pydev-users mailing list Pydev-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pydev-users