Down but not out. Successfully installed Python and have it running, but wxPython is eluding me. On the last step on the installation instructions, my luck ran out, with error messages:
[root@localhost wxPython]# python setup.py \ WX_CONFIG=$WXPREF/bin.wx-config \ build install Preparing CORE... Preparing GLCANVAS... Preparing OGL... Preparing STC... Preparing XRC... Preparing GIZMOS... Preparing DLLWIDGET... usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'python' (no module named 'distutils.command.python')
Ooof. A quick Google for the bottom error (the cause of the rest, if I read it correctly) points to problems in the distutil package. Attempting to reinstall that from the source brings no joy, with more obscure errors:
[root@localhost Distutils-1.0.2]# python setup.py install Traceback (most recent call last): File "setup.py", line 30, in ? packages = ['distutils', 'distutils.command'], File "/root/Distutils-1.0.2/distutils/core.py", line 101, in setup _setup_distribution = dist = klass(attrs) File "/root/Distutils-1.0.2/distutils/dist.py", line 130, in __init__ setattr(self, method_name, getattr(self.metadata, method_name)) AttributeError: DistributionMetadata instance has no attribute 'get___doc__'
So, at the end of the day, the score is tied: I won the Python install, Murphy the wxPython install. Tomorrow’s another day.