"set" is a built-in set data type in Python 2.4 and later. Twisted has a
compatibility module for older versions of Python. On my system, the
twisted/python/compat.py file (from which the code tries to import
"set") has

  try:
      set = set
  except NameError:
      from sets import Set as set

which simply tests to see if "set" is defined, otherwise it imports it
From the sets module, which defines a Set class in old Python versions.


Have now added this line, and I get the error....

 line 447, in ProcessProtocol
    implements(interfaces.IProcessProtocol)
AttributeError: 'module' object has no attribute 'IProcessProtocol'



Which Python version are you using (python -V)? Which distribution is
this? Twisted is a standard component which is surely packaged for the
distribution -- there should be no need to installing it yourself.


Python 2.4.3 (#1, Sep  3 2009, 15:37:37)

We have Centos as the OS, it is a managed distributed system.
  - i.e. the filestore is shared and used by 150 odd machines.

So I cant just add packages etc. If I want something installed which my
path does not pick up I either have to
  a) Search around to find it on the system
or
  b) Install it myself in my own space
Clearly b usually takes less time ;-)

Also no-one in the dept seems to use python for anything, so I doubt
python related stuff is instaleld. Which means option a is unlikely
to work.

Nigel
--
Prof. Nigel P. Smart               | Phone: +44 (0)117 954 5163
Computer Science Department,       | Fax:   +44 (0)117 954 5208
Woodland Road,                     | Email: ni...@cs.bris.ac.uk
University of Bristol, BS8 1UB, UK | URL:   http://www.cs.bris.ac.uk/~nigel/
_______________________________________________
viff-devel mailing list (http://viff.dk/)
viff-devel@viff.dk
http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk

Reply via email to