Comments (4)
Thank you! Can you update the readme file and send me a pull request?
Kliment
On 10/05/2011 04:29 AM, Al Jigen Billings wrote:
The Readme says that you don't need to worry about 32 vs 64-bit mode on OS X Lion. This is incorrect. If the user runs it in 64-bit mode, WX gives an error (and this is with the Carbon version):
python ./pronterface.py
WX is not installed. This program requires WX to run.
Traceback (most recent call last):
File "./pronterface.py", line 13, in
import wx
File "/usr/local/lib/wxPython-2.9.2.4/lib/python2.7/site-packages/wx-2.9.2-osx_carbon/wx/init.py", line 45, in
from wx._core import *
File "/usr/local/lib/wxPython-2.9.2.4/lib/python2.7/site-packages/wx-2.9.2-osx_carbon/wx/_core.py", line 4, in
import core
ImportError: /usr/local/lib/wxPython-2.9.2.4/lib/python2.7/site-packages/wx-2.9.2-osx_carbon/wx/core.so: no appropriate 64-bit architecture (see "man python" for running in 32-bit mode)
If the following is used and pronterface is run again, the UI comes up:
export VERSIONER_PYTHON_PREFER_32_BIT=yes
from printrun.
Fixed.
from printrun.
I am also having this issue running OS X Lion, Apple's Python 2.7.2, wxPython 2.9.2.4 carbon. Typing this in terminal: export VERSIONER_PYTHON_PREFER_32_BIT=yes doesn't seem to fix anything. Thanks a lot for your help!
$ python ./pronterface.py
WX is not installed. This program requires WX to run.
Traceback (most recent call last):
File "./pronterface.py", line 14, in
import wx
File "/usr/local/lib/wxPython-2.9.2.4/lib/python2.7/site-packages/wx-2.9.2-osx_carbon/wx/init.py", line 45, in
from wx._core import *
File "/usr/local/lib/wxPython-2.9.2.4/lib/python2.7/site-packages/wx-2.9.2-osx_carbon/wx/_core.py", line 4, in
import core
ImportError: dlopen(/usr/local/lib/wxPython-2.9.2.4/lib/python2.7/site-packages/wx-2.9.2-osx_carbon/wx/core.so, 2): no suitable image found. Did find:
/usr/local/lib/wxPython-2.9.2.4/lib/python2.7/site-packages/wx-2.9.2-osx_carbon/wx/core.so: no matching architecture in universal wrapper
edit- I found a workaround. If I load it using: $ python2.7-32 pronterface.py It works fine.
from printrun.
I've had similar problems with the same error codes on the following system:
Mac OS X 10.6.8
export VERSIONER_PYTHON_PREFER_32_BIT=yes
instead of defaults write com.apple.versioner.python Prefer-32-Bit -bool yes
solved my issues
from printrun.
Related Issues (20)
- Unstable behavior if there's no controlling terminal HOT 4
- 3D view broken in own-compiled package, Debian repo version is good -- part deux! HOT 12
- Text fields and buttons lack padding around their contents, and other minor UI issues HOT 1
- UI hangs after some time, print continues HOT 2
- ValueError: could not convert string to float: line 1995 pronterface.py HOT 46
- Pronterface - Errno 6 Device not configured HOT 5
- My Laser uses the RS 232C communication protocol and not G-Code HOT 10
- Thank you for making pronterface printrun and allowing me to connect the laptop to the 3D printer HOT 2
- Running Pronterface on Aarch64 and Trying Other Tools in the Suite HOT 6
- filament reload error HOT 2
- feeding gcode through a pipe HOT 4
- Moved the custom buttons over too far, and now i have broke the whole program HOT 7
- Cannot download on MAC HOT 8
- Pause from G-Code HOT 3
- Is there a Pause Flag on RPC server? HOT 7
- Plater shortcuts not working and missing tips
- printrun HOT 1
- AttributeError: 'NoneType' object has no attribute 'write HOT 3
- Do not disable extruder on exit HOT 8
- Multiple printer config files HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from printrun.