On Aug 20, 2004, at 3:47 AM, normanwinn wrote:
> Hi,
>
> As many times before, I was enthused by the sound of the new releases
> of wxPython and of PythonCard. I followed the instructions and
> downloaded the correct versions. I chose the Unicode version of wx.
> Installation of both went fine. I have Python 2.3.3 installed under
> XP.
>
> When I tried to run pythoncard it tells me that I have version
> 2.4.2.4 and invites me to click to exit. The wx installation reports
> (on the Windows program launcher) that it is version 2.5.
>
> When I try to run wx it tells me 'No handler found for image type'.
>
> Any ideas?
>
> Norman
>
Hmm, this sounds like you have multiple versions of Python installed,
so let's check. I don't know where things might be wrong, so we'll go
back to basics.
First of all, I would look at your Add/Remove Programs control panel
and see what is listed. Is there only one version of wxPython listed?
When you installed wxPython 2.5.2.7 did it detect an earlier version
and ask to uninstall it?
Next you can check to see what the file associations are for .py, .pyw,
etc. In the Explorer, under the Tools menu select Folder Options...
Then click on the File Types tab and type py or just scroll down to the
PY extension and you should see all the Python extensions (PY, PYC,
PYO, PYW). For each of those you can click on the Advanced button and
then select open from the Actions: list and click on Edit... to see
which version of Python the file will be opened with. In your case,
open should have something like:
C:\Python23\python.exe "%1" %*
for the Application used to perform this action field.
If you open your C:\Python23\Lib\site-packages directory in the
Explorer you should have PythonCard, wx, and wxPython directories in
addition to any other Python packages you've installed.
If you open up a Command console (MS-DOS window) and type python and
press return does it show Python 2.3.3? At the >>> prompt try this.
Type the text after the >>> prompt lines:
>>> import wx
>>> wx.VERSION
(2, 5, 2, 7, '')
>>> from PythonCard.__version__ import ver
>>> ver
'0.8'
If you installed the Unicode version of wxPython, then the version
number above will have a U in it. So, does all this match up on your
system, or was there something out of whack? I have to admit not
running the Unicode version of wxPython much, so I suppose there could
be some problem there, but I doubt it.
ka
|