[Ilugc] Twisted Installation Error
- From: girishvenkatachalam@xxxxxxxxx (Girish Venkatachalam)
- Date: Wed Sep 30 16:17:48 2009
On Wed, Sep 30, 2009 at 12:17 PM, sudharsan s <sudharsh88@xxxxxxxxx> wrote:
Hi Luggies..
I am new to twisted environment i started with the Book ?Twisted Network
Programming EssentialsBy Abe Fettig , Publisher O'Reilly..
Twisted is event programming with Python. Learning events is hard.
Thank God finally someone realized that events are far better than
using threads. I wonder what your problem is though.
I started with the installation...
I use Ubuntu as my Os...
All this is irrelevant man. Isn't it a simple download, python setup.py
install affair?
after installing twisted using synaptic package manager i was to install
additional packages like *PyOpenSSL* and *PyCrypto* as per the book... i
installed it too...
No, twisted has nothing to do with crypto man. It is an event
library for I/O multiplexing. Learn about epoll(2), kqueue() or libevent.
http://www.monkey.org/~provos/libevent/
Also look here:
http://www.indelible.org/ink/twisted-bonjour/
http://www.linuxjournal.com/article/7871
http://twistedmatrix.com/trac/
PyopenSSL package worked properly when i imported it in a python interactive
shell but i get error mesage ?when importing PyCrypto
Error Message is :
import Crypto
import twisted.conch.ssh.transport
twisted.conch.ssh.transport.RSA
Traceback (most recent call last):
?File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'RSA'
So How to solve this....
if anybody has suggestions for a good tutorial on twisted for a beginer i
welcome it...
Try to solve this first:
import twisted
;)
Don't mix with crypto. Keep things simple and stupid.
The famous KISS principle.
Best of luck!
-Girish
--
Gayatri Hitech
web:
http://gayatri-hitech.com
SpamCheetah Spam filter:
http://spam-cheetah.com
Other related posts: