Nigel Smart <ni...@compsci.bristol.ac.uk> writes: >> >> Uh, it was supposed to be a solution for you to add :-( It was an >> explanation that you have a broken installation of Twisted. >> > > I have actually installed a whole new version of twisted, Zope, gmpy > from scratch this week.
Hmm, okay. >> You can check that things are installed nicely by switching to some >> other directory and starting the interactive python interpreter: >> >> % python >> Python 2.4.3 (#1, Jun 11 2009, 14:09:58) >> [GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2 >> Type "help", "copyright", "credits" or "license" for more information. >> >>> from twisted import version >> >>> version >> Version('twisted', 2, 5, 0) >> >> Likewise for GMPY: >> >> >>> import gmpy >> >>> x = gmpy.mpz(1234567891234567891234567) >> >>> len(str(x**12345)) >> 297410 >> > > So I get.... > > ~% python > Python 2.4.3 (#1, Sep 3 2009, 15:37:37) > [GCC 4.1.2 20080704 (Red Hat 4.1.2-46)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. >>>> from twisted import version >>>> version > Version('twisted', 9, 0, 0) >>>> import gmpy >>>> x = gmpy.mpz(1234567891234567891234567) >>>> len(str(x**12345)) > 297410 >>>> Okay, so some things are working... I'm afraid I don't know why you get the import errors you reported in the other mails. If you can give me SSH access to the machine, then I can take a closer look. I've yet to meet a machine where I couldn't get VIFF running :-) I've put my SSH public key here: http://cs.au.dk/~mg/tmp/mg.pub > Which implies your Twisted is ancient, as my version is 9.0.0 No, it's not as bad as it sounds -- they switched from version 2.x to version x.something where x is used in year 200x :-) -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
Description: PGP signature
_______________________________________________ viff-devel mailing list (http://viff.dk/) firstname.lastname@example.org http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk