title: Cannot attach Skype4Py to Skype via Python in Mac OSX
body: <p>I am on Mac OSX (10.8.2) and am trying to use Skype4py to connect to my currently running Skype instance via Python. </p>
  
  <p>My difficulty here is that I have followed the instructions on the website (<a href="http://pypi.python.org/pypi/Skype4Py/1.0.34#segfaults" rel="nofollow">http://pypi.python.org/pypi/Skype4Py/1.0.34#segfaults</a>), and properly installed Skype4Py using the <code>arch -i386 pip install Skype4Py</code> command. As the instructions state, I have set my code editor's run code to use the <code>arch -i386 python</code> command to run things instead of the typical <code>python</code> (As well as tried using both to run the file directly from terminal).</p>
  
  <p>My code is currently really simple (I plan to work further once I get the connection working), and is as follows:  </p>
  
  <pre><code>import Skype4Py
  skype = Skype4Py.Skype()
  skype.Attach()
  </code></pre>
  
  <p>That gives me an error window that python had to close as well as the following error: <code>Run Command: line 1: 66888 Segmentation fault: 11  arch -i386 python "$1" "${@:3}"</code></p>
  
  <p>After some searching around on these forums, I had found a few threads that agree upon the following code revision as an answer:</p>
  
  <pre><code>import Skype4Py
  skype = Skype4Py.Skype(Transport='x11')
  skype.Attach()
  </code></pre>
  
  <p>Unfortunately, this fix simply changes the nature of my error. The new error message is more complicated: </p>
  
  <pre><code>Traceback (most recent call last):
    File "skypeAttach.py", line 4, in &lt;module&gt;
      skype = Skype4Py.Skype(Transport='x11')
    File "build/bdist.macosx-10.8-intel/egg/Skype4Py/skype.py", line 250, in __init__
    File "build/bdist.macosx-10.8-intel/egg/Skype4Py/api/darwin.py", line 296, in __init__
    File "build/bdist.macosx-10.8-intel/egg/Skype4Py/api/__init__.py", line 214, in finalize_opts
  TypeError: Unexpected option(s): Transport
  </code></pre>
  
  <p>Which, under my limited programming knowledge, seems to be trying to tell me that "Transport" is an unexpected parameter. </p>