Hi,<div><br></div><div>Firstly, I either use the built-in version of Idle on mac which is 2.5, or I&#39;m using ActivePython 2.6, I&#39;m not familiar with binaries so to save time this is what I used. &nbsp;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 &#39;import twisted&#39; I get the following error:</div>
<div><br></div><div><div>Traceback (most recent call last):</div><div>&nbsp;&nbsp;File &quot;&lt;pyshell#3&gt;&quot;, line 1, in &lt;module&gt;</div><div>&nbsp;&nbsp; &nbsp;import twisted</div><div>&nbsp;&nbsp;File &quot;/Users/arielakeman/Desktop/twisted/__init__.py&quot;, line 11, in &lt;module&gt;</div>
<div>&nbsp;&nbsp; &nbsp;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: &#39;see INSTALL&#39;. &nbsp;I&#39;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">&lt;<a href="mailto:exarkun@divmod.com">exarkun@divmod.com</a>&gt;</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 &lt;<a href="mailto:arie.lakeman@gmail.com" target="_blank">arie.lakeman@gmail.com</a>&gt; wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
I&#39;ve taken an interest in event driven programming, I came across twisted<br>
and liked the look of it, I&#39;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. &nbsp;I<br>
have a hunch I may be missing OpenSSL (occassional errors) but I don&#39;t know<br>
enough about this (after googling) to be able to resolve this.<br>
</blockquote>
<br></div>
I&#39;ve never tried to install Twisted on OS X except by using setup.py to do<br>
a single-user installation. &nbsp;However, I&#39;m pretty sure that if you provide<br>
more details about how exactly the installation process fails you&#39;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. &nbsp;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>