[MacPorts] #19191: can't import wx module from py26-wxpython
#19191: can't import wx module from py26-wxpython ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: jameskyle@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: py26-wxpython ------------------------------+--------------------------------------------- I'm unable to import the wx module after installing `py26-wxpython`: {{{ $ python2.6 Python 2.6.1 (r261:67515, Apr 4 2009, 15:14:47) [GCC 4.0.1 (Apple Inc. build 5490)] on darwin Type "help", "copyright", "credits" or "license" for more information.
import wx Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named wx exit() $ port installed py26-wxpython The following ports are currently installed: py26-wxpython @2.8.9.1_0 (active) $ }}}
the same works for `py25-wxpython` -- Ticket URL: <http://trac.macports.org/ticket/19191> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19191: can't import wx module from py26-wxpython ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: jameskyle@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: py26-wxpython ------------------------------+--------------------------------------------- Comment(by cristiano.paris@…): The same for me! -- Ticket URL: <http://trac.macports.org/ticket/19191#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19191: can't import wx module from py26-wxpython ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: jameskyle@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: py26-wxpython ------------------------------+--------------------------------------------- Comment(by cristiano.paris@…): Replying to [comment:2 cristiano.paris@…]:
The same for me!
Work-around: sudo ln -s /opt/local/lib/python2.6/site-packages/wx-2.8-mac-unicode/wx /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6 /site-packages It should work. -- Ticket URL: <http://trac.macports.org/ticket/19191#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19191: can't import wx module from py26-wxpython ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: jameskyle@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: py26-wxpython ------------------------------+--------------------------------------------- Comment(by jameskyle@…): I dropped wxwidgets version down to 2.8.9 and fixed the path problems. -- Ticket URL: <http://trac.macports.org/ticket/19191#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19191: can't import wx module from py26-wxpython -------------------------------+-------------------------------------------- Reporter: ram@… | Owner: jameskyle@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: py26-wxpython | -------------------------------+-------------------------------------------- Changes (by jameskyle@…): * status: new => closed * resolution: => fixed -- Ticket URL: <http://trac.macports.org/ticket/19191#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19191: can't import wx module from py26-wxpython -------------------------------+-------------------------------------------- Reporter: ram@… | Owner: jameskyle@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: py26-wxpython | -------------------------------+-------------------------------------------- Comment(by mlk@…): If not done already, someone needs to downgrade py25-wxpython to 2.8.9.1 from 2.8.9.2 -- same as py26-wxpython currently is. wxPython 2.8.9.2 requires wxWidgets 2.8.10 , while the wxPython 2.8.9.1 requires wxWidgets 2.8.9 . -- Ticket URL: <http://trac.macports.org/ticket/19191#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19191: can't import wx module from py26-wxpython -------------------------------+-------------------------------------------- Reporter: ram@… | Owner: jameskyle@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: | Keywords: Port: py26-wxpython | -------------------------------+-------------------------------------------- Changes (by ryandesign@…): * cc: mww@… (added) * status: closed => reopened * resolution: fixed => -- Ticket URL: <http://trac.macports.org/ticket/19191#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19191: can't import wx module from py26-wxpython -------------------------------+-------------------------------------------- Reporter: ram@… | Owner: jameskyle@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: | Keywords: Port: py26-wxpython | -------------------------------+-------------------------------------------- Comment(by ryandesign@…): jameskyle downgraded wxWidgets to 2.8.9 in r52414 and I increased the epoch in r52662. -- Ticket URL: <http://trac.macports.org/ticket/19191#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19191: can't import wx module from py26-wxpython -------------------------------+-------------------------------------------- Reporter: ram@… | Owner: jameskyle@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: | Keywords: Port: py26-wxpython | -------------------------------+-------------------------------------------- Comment(by mlk@…): I just did a 'port sync', removed py25-wxpython, updated wxwidgets (to 2.8.9 epoch 1), then tried to reinstall py25-wxpython, which errored out. The version of py25-wxpython is still 2.8.9.2, which requires wxwidgets 2.8.10; hence the erroring out is no surprise. Please revert py25-wxpython to 2.8.9.1 while wxwidgets is at 2.8.9. -- Ticket URL: <http://trac.macports.org/ticket/19191#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19191: can't import wx module from py26-wxpython -------------------------------+-------------------------------------------- Reporter: ram@… | Owner: jameskyle@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: | Keywords: Port: py26-wxpython | -------------------------------+-------------------------------------------- Comment(by jameskyle@…): downgraded py25-wxpython to 2.8.9.1, compiles and installs for me. Sorry for delay, been out of town for a training seminar. -- Ticket URL: <http://trac.macports.org/ticket/19191#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19191: can't import wx module from py26-wxpython -------------------------------+-------------------------------------------- Reporter: ram@… | Owner: jameskyle@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: py26-wxpython | -------------------------------+-------------------------------------------- Changes (by jameskyle@…): * status: reopened => closed * resolution: => fixed -- Ticket URL: <http://trac.macports.org/ticket/19191#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19191: can't import wx module from py26-wxpython -------------------------------+-------------------------------------------- Reporter: ram@… | Owner: jameskyle@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: py26-wxpython | -------------------------------+-------------------------------------------- Comment(by mlk@…): Thanks! -- Ticket URL: <http://trac.macports.org/ticket/19191#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts