Can't uninstall wxPython

Robert Hicks sigzero at gmail.com
Sat Nov 12 23:01:57 CET 2005


Justin wrote:
> I have two versions of wxPython installed on my Mac (OS X Tiger).  One
> is version 2.6.1.0 and the other is version 2.6.0.0.  I want to keep
> the newer version, but I can't seem to uninstall either one using the
> uninstall_wxPython.py script.
>
> When I run that script, I get this error message:
>   $ sudo: uninstall_wxPython.py: command not found
>
> Is there any way I could delete one, or both, of these installations
> manually?  For some reason, whenever I try to run a wxPython script, it
> uses the older version of wxPython and it doesn't always run correctly.
>
> Thanks in advance.

If it has the x bit set  you will have to do something like this:

sudo ./uninstall_wxPython.py

Otherwise pass "python" explicitly:

sudo python uninstall_wxPython.py

I think that it is going to wipe out all your wxPython installs...so
you will need to reinstall the version you wanted.

HTH,

Robert




More information about the Python-list mailing list