Re: Bad installer for wxPython2.8-osx-ansi-2.8.12.1-universal-py2.7

Kevin Walzer <[email protected]>
Newsgroups gmane.comp.python.apple
Organization WordTech Communications LLC
Message-ID <[email protected]>
On 1/4/14, 10:44 PM, Tony Cappellini wrote:
>
> ---------- Forwarded message ----------
> From: Ned Deily <[email protected] <mailto:[email protected]>>
> To: [email protected] <mailto:[email protected]>
> Cc:
> Date: Sat, 28 Dec 2013 15:15:55 -0800
> Subject: Re: [Pythonmac-SIG] Bad installer for
> wxPython2.8-osx-ansi-2.8.12.1-universal-py2.7
> In article <[email protected]
> <mailto:[email protected]>>,
>   Ned Deily <[email protected] <mailto:[email protected]>> wrote:
>
>
>>>sudo installer -pkg
>>>/Volumes/wxPython2.9-osx-2.9.4.0-cocoa-py2.7/wxPython2.9-osx-cocoa-py2.7.
>>>pkg -target /
>
> Ok- thanks. This worked.
> I was able to run the installer- without problems.
>
> I do have one issue though. I am under the impression that
> "universal-py2.7" means it will run under both 32 & 64 bit systems.
>
> When I imported wx
>
> import wx
> Traceback (most recent call last):
>    File "<stdin>", line 1, in <module>
>    File
> "/usr/local/lib/wxPython-ansi-2.8.12.1/lib/python2.7/site-packages/wx-2.8-mac-ansi/wx/__init__.py",
> line 45, in <module>
>      from wx._core import *
>    File
> "/usr/local/lib/wxPython-ansi-2.8.12.1/lib/python2.7/site-packages/wx-2.8-mac-ansi/wx/_core.py",
> line 4, in <module>
>      import _core_
> ImportError:
> /usr/local/lib/wxPython-ansi-2.8.12.1/lib/python2.7/site-packages/wx-2.8-mac-ansi/wx/_core_.so:
> no appropriate 64-bit architecture (see "man python" for running in
> 32-bit mode)
>
> I am using the default version of Python (2.7.5) that comes with Mavericks
>

If you look at the version of wxPython referenced in the stack trace, 
it's 2.8, not the 2.9. one you installed. 2.8 is 32-bit only. Looks like 
Python is confused about which version to load. You may simply want to 
remove the 2.8 one altogether to avoid the conflict.

--Kevin

-- 
Kevin Walzer
Code by Kevin/Mobile Code by Kevin
http://www.codebykevin.com
http://www.wtmobilesoftware.com
_______________________________________________
Pythonmac-SIG maillist  -  [email protected]
https://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.