Problem even starting pronterface on Mac OS X

297 views
Skip to first unread message

Paul Bristow

unread,
Dec 20, 2011, 3:29:05 AM12/20/11
to shape...@googlegroups.com
Hi,

I'm finally trying to get my Shapercube V2.0, #36 up and running.

I'm using Mac OS X Lion on my laptop for driving it.

The instructions are less than detailed on the software side.  Going from my original instructions I finally got ReplicatorG to run on my mac (don't ask - a software conflict that I should not have forgotten) only to find that now pronterface is the preferred option.

However, when I try to run pronterface I get this cryptic error. 

$ python pronterface.py 
WX is not installed. This program requires WX to run.
Traceback (most recent call last):
  File "pronterface.py", line 13, in <module>
    import wx
  File "/usr/local/lib/wxPython-unicode-2.8.12.1/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/__init__.py", line 45, in <module>
    from wx._core import *
  File "/usr/local/lib/wxPython-unicode-2.8.12.1/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/_core.py", line 4, in <module>
    import _core_
ImportError: dlopen(/usr/local/lib/wxPython-unicode-2.8.12.1/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/_core_.so, 2): no suitable image found.  Did find:
/usr/local/lib/wxPython-unicode-2.8.12.1/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/_core_.so: no matching architecture in universal wrapper

Needless to say, wx is installed, using the version that is "guaranteed to work" :-(

Any clues?

Thanks,

Paul

/* Though the problems of the world are  increasingly complex, the solutions remain embarrassingly simple */



zapgadget

unread,
Dec 20, 2011, 6:19:44 AM12/20/11
to shape...@googlegroups.com
Never mind.  I found the solution.  It's

arch -i386 python pronterface.py 

as the command under Lion.

Cheers,

Paul

Joachim Glauche

unread,
Dec 22, 2011, 6:42:46 AM12/22/11
to Shapercube Support Group
Hi,

yes, either that, or set the environmental python preference to 32 bit
as described in the README, with:
defaults write com.apple.versioner.python Prefer-32-Bit -bool yes

Best Regards,
Joachim Glauche
Reply all
Reply to author
Forward
0 new messages