How to uninstall wxpython on Mac OS? I assume that the best option I have is to uninstall wxpython 2.8 and then install wxpython 2.9. My computer is a Mac OSX version 10.6.6., and my Python version is ActiveState Python 2.7.1. Meanwhile, the wxpython’s version is wxpython 2.8., the one that uses Carbon API and is limited to 32-bit arch mode. I installed the wxpython 2.8-osx-unicode-py2.7 from the wxpython website using their.dmg installer file. Contents • • • • • • • • • • • • Install Python The stable release of wxPython requires Python version 2.7. Get it from the. Windows Installation under windows is especially simple: Run the installer you can get from and follow the instructions. ![]() Mac OS X An installer is available on the site, for both PPC and Intel Macs. If you wish to build it yourself, you should follow the instruction described. A french howto can be found If you receive a message about the package being 'damaged and can't be opened', then you need to change the security preference setting that is labeled Allow applications downloaded from: to Anywhere. GNU/Linux - Redhat You can find RPMs for Redhat (they are working just fine with Mandrake through), at the address GNU/Linux - Debian wxPython can be installed through apt-get by calling apt-get install python-wxgtk2.8 or apt-get install python-wxgtk2.6, depending on which version you want. You may have to call this with root permissions. The wxPython demo is in the wx-examples package. However, it is advised to install the demo separately, as described. ![]() Try this: apt-get install python-wxgtk2.8 Please note that sometimes older versions of wx are installed by using this method See for how to get the latest versions with apt-get. GNU/Linux - Raspbian on Raspberry Pi wxPython 4.0.1 can be installed and does run on Raspberry Pi's Debian variants 'Jessie' and 'Stretch'. It works on Python 3.4 and up. For install instructions. GNU/Linux - Gentoo wxPython can be installed through portage by calling emerge wxPython (notice the capital P). The correct command is actually emerge wxpython (without a capital p) as of 11/28/04. GNU/Linux - Building from the source You might also want to build wxPython from the source. You have to do this in three steps: Installing wxGTK from source wxGTK is the GTK version of wxWidgets. GTK (Gimp ) is a graphic library used by Gnome, so it is probably already installed on your Linux box. All you have to do is download the wxGTK source from. Or the • Untar wxGTK by type the command: tar -xvzf wxGTK-2.2.5.tar.gz • Go into the directory: cd wxGTK-2.2.5 • Run the configure script:./configure --with-gtk You might get some errors here if GTK is not installed or if the include files for GTK are not installed (in a Mandrake distribution, gtk+-devel-1.2.8-6mdk.i586.rpm is the rpm that you want to install) • Run the make file: make • You might get some errors here if yacc or lex are not installed. (in a Mandrake distribution, the right rpms are byacc-1.9-7mdk.i586.rpm and flex-2.5.4a-13mdk.i586.rpm) You should now have a compiled version of wxGTK. We want to install it and link it into the system. • Become superuser: su Your root password is required here. • Install wxGTK: make install • Link the library: ldconfig • Exit from superuser mode: exit Normally, wxGTK is installed but there might be a problem with wxPython: it is possible that the library is not installed where wxPython is looking for it.
0 Комментарии
Оставить ответ. |
АвторНапишите что-нибудь о себе. Не надо ничего особенного, просто общие данные. Архивы
Март 2019
Категории |