Installing Wxpython Macports

17.09.2019by admin

Installing wxPython4 (Phoenix) on Linux Since wxPython is not able to be built to the manylinux1 standard we're not able to put binaries on PyPI. Instead binary wheels are made available for a few popular linux distributions, and you can install them using pip once you locate the proper folder to tell pip to download from. This wxWidgets version can be installed from the bundled wxPython sources. Those that are primarily interested in using wxPython may be quite satisfied by this solution. Those that want only wxWidgets without python can install the official stand-alone version of wxWidgets. Instructor Hey, there.In the previous section,we saw internationalized and tested our Python GUI.This is Section nine,Extending Our GUI with the wxPython Library.First, we will install the wxPython library.Then, we'll create a simple wxPython GUIand add controls to it.We will try to connect both the tkinter base GUIswe developed in this coursewith the new.

Active6 years, 8 months ago

I'm trying to build a 64-bit version of wxpython, to work with my macports version of python2.7 (universal build). I've been pointed to the following port py27-wxpython-devel and done the usual install command. Unfortunately I immediately receive the following error message

Unable to execute port: Can't install wxWidgets-devel because conflicting ports are installed: wxWidgets

I assume this means I need to remove wxwidgets to enable me to install this port. I'm reluctant to do this however because I expect this wxwidgets is something to do with the version of wxpython that I currently have working. Is there an alternative solution?

Paul Patterson
Paul PattersonPaul Patterson
5,2393 gold badges34 silver badges46 bronze badges

1 Answer

In this case, wxwidgets-devel is a newer, experimental version of the wxwidgets port. You need to choose one or the other. Fortunately, MacPorts makes it easy to do so with little risk. First, run

which will remove the installed links to the port but will not remove the built port. Then you can run

If you later want to switch back, just run:

Macports Update

Installing wxpython macports for windows

To permanently remove a port, use uninstall:

Ned DeilyNed Deily
70k14 gold badges117 silver badges144 bronze badges
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Installing Wxpython Macports

Not the answer you're looking for? Browse other questions tagged 64-bitwxpythonwxwidgetsconflictmacports or ask your own question.