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.
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?
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:
To permanently remove a port, use uninstall
: