wienands at gmail.com
Mon Dec 11 03:11:51 UTC 2017
Many thanks. It looks like I should stay with tkinter, then. It seems to work (with Python 3.6) even if I need X11 to use it.
I am new to Python so Python 2 or 3 is not critical in the sense of maintaining older code; but from what I have seen around the web it looks like Python 3 finally has become enough mainstream that I should start with it rather than Python 2. I need things like numPy et al., and there are versions that work with Python 3.6 on MacPorts so that is what is presently installing on my machine.
Let me take the opportunity to thank the MacPorts team for providing so many binary files. I am presently setting up a new machine and I am delighted to see how efficient MacPorts has become. The increased speed helps; but I also find I am running into many less problem than I used to. A big thumbs-up!
> On Dec 10, 2017, at 1:35 PM, Mojca Miklavec <mojca at macports.org> wrote:
> On 10 December 2017 at 19:42, Ulrich Wienands wrote:
>> I am trying to get wxPython to work.
>> I successfully installed Python-3.6 and (I think) wxWidgets 3.0 and (I
>> think) py-wxPython-3.0. (by "I think" I am saying that MacPorts says it was
> The only thing that makes sense is installing py27-wxpython-3.0.
> wxPython 3.0.2 is not compatible with Python 3, only with Python 2.
> The new compatible version is wxPhoenix / wxPython 4.x.
> I tried to install it long long ago and there were some issues (I
> wasn't really able to install it without spending quite a bit more
> time). I didn't test it recently, but in any case we currently don't
> have a functional port combining wxPython and Python 3.
>> Running a trivial test program I copied form the Web (wxPython
>> tutorial on zetcode.com) it bombs' I think because it never finds wx when
>> running import wx. I am saying"I think" as the error message is not
>> I also downloaded and installed tkinter and that worked. However, I at
>> lreast want to try wxWidgets as well.
>> Anyway, amongst the myriads of differentoptions I am stuck here. I don't
>> really know whether this is a MacPorts problem, please let m e know.
> By far the easiest way would be to install py27-wxpython-3.0 and test
> wxPython with that one. If you cannot live without Python 3, someone
> needs to come up with a port for wxPython 4.0.0b2 (I'm the maintainer,
> but I'm not sure if I'll manage to do it soon).
More information about the macports-users