<div dir="ltr">Thanks!&nbsp; It took me further... However, I&#39;m now getting the following error.&nbsp; Do you know what may cause this?<br><br>*** creating application bundle: Raptr ***<br>copying build/bdist.macosx-10.3-i386/python2.5-standalone/app/site-packages.zip -&gt; /Users/patrickli/client/gxl/trunk/client/src/dist/Raptr.app/Contents/Resources/lib/python2.5<br>
Traceback (most recent call last):<br>&nbsp; File &quot;/Users/patrickli/python/lib/python2.5/site-packages/py2app-0.4.2-py2.5.egg/py2app/build_app.py&quot;, line 579, in _run<br>&nbsp;&nbsp;&nbsp; self.run_normal()<br>&nbsp; File &quot;/Users/patrickli/python/lib/python2.5/site-packages/py2app-0.4.2-py2.5.egg/py2app/build_app.py&quot;, line 650, in run_normal<br>
&nbsp;&nbsp;&nbsp; self.create_binaries(py_files, pkgdirs, extensions, loader_files)<br>&nbsp; File &quot;/Users/patrickli/python/lib/python2.5/site-packages/py2app-0.4.2-py2.5.egg/py2app/build_app.py&quot;, line 767, in create_binaries<br>&nbsp;&nbsp;&nbsp; platfiles = mm.run()<br>
&nbsp; File &quot;build/bdist.macosx-10.3-i386/egg/macholib/MachOStandalone.py&quot;, line 102, in run<br>&nbsp;&nbsp;&nbsp; mm.run_file(fn)<br>&nbsp; File &quot;build/bdist.macosx-10.3-i386/egg/macholib/MachOGraph.py&quot;, line 66, in run_file<br>
&nbsp;&nbsp;&nbsp; m = self.createNode(MachO, pathname)<br>&nbsp; File &quot;build/bdist.macosx-10.3-i386/egg/macholib/MachOStandalone.py&quot;, line 23, in createNode<br>&nbsp;&nbsp;&nbsp; res = super(FilteredMachOGraph, self).createNode(cls, name)<br>&nbsp; File &quot;build/bdist.macosx-10.3-i386/egg/altgraph/ObjectGraph.py&quot;, line 148, in createNode<br>
&nbsp;&nbsp;&nbsp; m = cls(name, *args, **kw)<br>&nbsp; File &quot;build/bdist.macosx-10.3-i386/egg/macholib/MachO.py&quot;, line 61, in __init__<br>&nbsp;&nbsp;&nbsp; self.load(file(filename, &#39;rb&#39;))<br>&nbsp; File &quot;build/bdist.macosx-10.3-i386/egg/macholib/MachO.py&quot;, line 76, in load<br>
&nbsp;&nbsp;&nbsp; self.load_header(fh, 0, size)<br>&nbsp; File &quot;build/bdist.macosx-10.3-i386/egg/macholib/MachO.py&quot;, line 106, in load_header<br>&nbsp;&nbsp;&nbsp; hdr = MachOHeader(self, fh, offset, size, magic, hdr, endian)<br>&nbsp; File &quot;build/bdist.macosx-10.3-i386/egg/macholib/MachO.py&quot;, line 146, in __init__<br>
&nbsp;&nbsp;&nbsp; self.load(fh)<br>&nbsp; File &quot;build/bdist.macosx-10.3-i386/egg/macholib/MachO.py&quot;, line 178, in load<br>&nbsp;&nbsp;&nbsp; raise ValueError(&quot;Unknown load command: %d&quot; % (cmd_load.cmd,))<br>ValueError: Unknown load command: 27<br>
&gt; /Users/patrickli/client/gxl/trunk/client/src/build/bdist.macosx-10.3-i386/egg/macholib/MachO.py(178)load()<br>(Pdb) <br><br><br><div class="gmail_quote">On Fri, Aug 1, 2008 at 5:08 PM, Russell E. Owen <span dir="ltr">&lt;<a href="mailto:rowen@cesmail.net">rowen@cesmail.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">In article<br>
&lt;<a href="mailto:2b5a48740808011452k697c7f70kf840eea7d89889b4@mail.gmail.com">2b5a48740808011452k697c7f70kf840eea7d89889b4@mail.gmail.com</a>&gt;,<br>
<div><div></div><div class="Wj3C7c">&nbsp;&quot;Patrick Li&quot; &lt;<a href="mailto:patrick@raptr.com">patrick@raptr.com</a>&gt; wrote:<br>
<br>
&gt; Hi,<br>
&gt;<br>
&gt; I just used py2app to bundle my app on Leopard. &nbsp;It works fine on my<br>
&gt; computer. &nbsp;However, when I let my friend run the app on his machine that is<br>
&gt; running Tiger, it returned an error regarding the python runtime:<br>
&gt;<br>
&gt; &quot;A Python runtime could be located. &nbsp;You may need to install a framework<br>
&gt; build of Python, or edit the PyRuntimeLocations array in this application&#39;s<br>
&gt; Info.plist file.&quot;<br>
&gt;<br>
&gt; After further investigation, it appears that Leopard comes with python 2.5<br>
&gt; and Tiger comes with python 2.3. &nbsp;As a result, it was not able to find the<br>
&gt; python runtime to execute my application.<br>
&gt;<br>
&gt; I was under the assumption that py2app is supposed to bundle python all<br>
&gt; together so that it can run on any machine as a standalone without depending<br>
&gt; on python being installed on their machine? &nbsp;Am I missing something?<br>
<br>
</div></div>All you have to do is install your own python and use that to run<br>
py2app. then py2app will bundle the python in your app. (It will not<br>
bundle the system python for various good reasons.)<br>
<br>
Installing your own python is a good thing to do in any case. You can<br>
add and update packages and you can update python without fear of<br>
messing up the system.<br>
<br>
-- Russell<br>
<br>
_______________________________________________<br>
Pythonmac-SIG maillist &nbsp;- &nbsp;<a href="mailto:Pythonmac-SIG@python.org">Pythonmac-SIG@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/pythonmac-sig" target="_blank">http://mail.python.org/mailman/listinfo/pythonmac-sig</a><br>
<br>
<br>
</blockquote></div><br></div>