如何在Mac OSX 10.6上卸载wxpython 2.8 [英] How to uninstall wxpython 2.8 on Mac OSX 10.6

查看:121
本文介绍了如何在Mac OSX 10.6上卸载wxpython 2.8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的机器和已安装软件包的一些详细信息,然后再继续进行操作:

Some details of my machine and installed packages before proceeding further:

Mac OSX版本:10.6.6 Python版本:Activestate Python 2.7.1 wxpython版本:wxpython 2.8(使用Carbon API,因此仅限于32位模式架构)

Mac OSX version: 10.6.6 Python version: Activestate Python 2.7.1 wxpython version: wxpython 2.8 (uses Carbon API hence limited to 32-bit mode arch only)

我使用他们的.dmg安装程序文件从wxpython网站安装了wxPython2.8-osx-unicode-py2.7.该程序包使用Carbon API,因此仅限于32位模式.为了导入wx,我必须使用"arch -i386"编写我的应用程序,由于此限制,我无法导入某些其他软件包,如"MySQLdb",这些软件包在32位模式下不可用.因此,我最好的选择是卸载wxpython 2.8并安装wxpython 2.9,因为2.9版使用的Cocoa API同时具有32位和64位支持.

I installed wxPython2.8-osx-unicode-py2.7 from wxpython website using their .dmg installer file. This package uses the Carbon API and hence is limited to 32-bit mode only. I have to write my applications using "arch -i386" in order to import wx, and due to this limitation I am unable to import certain other packages likes "MySQLdb" which are not available in 32-bit mode. So, my best option is to uninstall wxpython 2.8 and install wxpython 2.9 because version 2.9 uses Cocoa API which has both 32-bit and 64-bit support.

我不知道如何在Mac OSX上卸载wxpython2.8.谁能帮我吗?

I don't know how to uninstall wxpython2.8 on my Mac OSX. Can anyone please help me?

推荐答案

如果您在.dmg中查找wxPython,则存在一个uninstall_wxPython.py卸载脚本.只需将其拖到桌面上,然后在终端中运行python ~/Desktop/uninstall_wxPython.py.

If you look in the .dmg for wxPython, there is an uninstall_wxPython.py unininstall script. Just drag it to your desktop and run python ~/Desktop/uninstall_wxPython.py in a terminal.

这篇关于如何在Mac OSX 10.6上卸载wxpython 2.8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆