
On Thu, Jan 15, 2004 at 08:02:27AM -0700, Ed Hartnett wrote:
Howdy all!
I am using twisted as part of BuildBot, to automatically test my software on various platforms.
One problem I am having on a couple of Suns is that twisted won't install. I have python 2.2.3 installed as you can see from the printout:
gilda.unidata.ucar.edu% python Python 2.2.3 (#1, Jan 13 2004, 13:54:46) [C] on sunos5 Type "help", "copyright", "credits" or "license" for more information.
bash-2.03# pwd /home/ed/downloads/Twisted-1.1.1 bash-2.03# python setup.py install Traceback (most recent call last): File "setup.py", line 43, in ? from twisted import copyright File "twisted/__init__.py", line 23, in ? from python import compat File "twisted/python/compat.py", line 27, in ? import sys, types, socket, struct, __builtin__, exceptions File "/usr/local/lib/python2.2/socket.py", line 41, in ? from _socket import * ImportError: No module named _socket
What's the deal here? Any suggestions for getting Twisted working on these suns?
Does "python -c 'import socket'" raise the same exception? I'm guessing it does, in which case this indicates a problem with the Python install. Without the socket module, Twisted can't do a heck of a lot. Jp