Hi,<div><br></div><div>Firstly, I either use the built-in version of Idle on mac which is 2.5, or I'm using ActivePython 2.6, I'm not familiar with binaries so to save time this is what I used. I then install the .dmg of twisted to a file I create on my desktop, then go into sys.path and add /Users/username/Desktop, then trying 'import twisted' I get the following error:</div>
<div><br></div><div><div>Traceback (most recent call last):</div><div> File "<pyshell#3>", line 1, in <module></div><div> import twisted</div><div> File "/Users/arielakeman/Desktop/twisted/__init__.py", line 11, in <module></div>
<div> import rand, crypto, SSL, tsafe</div><div>ImportError: No module named OpenSSL.crypto</div><div><br></div><div>I looked for but could not find an install.py file, and reading the readme which accompanies twisted under installation it simply says: 'see INSTALL'. I'm running Mac OS 10.5.6 and would massively appreciate any help getting twisted working, be it binaries or dmg!</div>
<div><br></div><div>Thanks</div><div><br></div><div>Arie</div><div><br></div><div class="gmail_quote">On Wed, Feb 4, 2009 at 2:56 PM, Jean-Paul Calderone <span dir="ltr"><<a href="mailto:exarkun@divmod.com">exarkun@divmod.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="Ih2E3d">On Wed, 4 Feb 2009 13:35:59 +0000, Arie Lakeman <<a href="mailto:arie.lakeman@gmail.com" target="_blank">arie.lakeman@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
I've taken an interest in event driven programming, I came across twisted<br>
and liked the look of it, I've tried downloading the .dmg from<br>
twistedmatrix/trac unfortunately after trying multiple installations<br>
including direct installation to both the folder where python is found<br>
(under system/frameworks...) and by changing the sys.path to another<br>
directory I fail to be able to import twisted in the interactive prompt. I<br>
have a hunch I may be missing OpenSSL (occassional errors) but I don't know<br>
enough about this (after googling) to be able to resolve this.<br>
</blockquote>
<br></div>
I've never tried to install Twisted on OS X except by using setup.py to do<br>
a single-user installation. However, I'm pretty sure that if you provide<br>
more details about how exactly the installation process fails you'll be<br>
more likely to get someone else who does have a clue to help you out.<br>
<br>
Be detailed in what steps you took and what the consequences were. Where<br>
there are errors, include them verbatim.<br>
<br>
Jean-Paul<br>
<br>
_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com" target="_blank">Twisted-Python@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
</blockquote></div><br></div>