Running wxPython2.8 demo

I get this if I try to compile from command line.

C:\Program Files\Python26\wxPython2.8 Docs and Demos\demo>python demo.pyw
Traceback (most recent call last):
File “demo.pyw”, line 3, in
import Main
File “C:\Program Files\Python26\wxPython2.8 Docs and Demos\demo\Main.py”, line
56, in
import wx
File “C:\Program Files\Python26\lib\site-packages\wx-2.8-msw-ansi\wx_init_.
py”, line 45, in
from wx._core import *
File “C:\Program Files\Python26\lib\site-packages\wx-2.8-msw-ansi\wx_core.py”
, line 4, in
import core
ImportError: DLL load failed: The specified module could not be found.

C:\Program Files\Python26\wxPython2.8 Docs and Demos\demo>python demo.py
Traceback (most recent call last):
File “demo.py”, line 3, in
import Main
File “C:\Program Files\Python26\wxPython2.8 Docs and Demos\demo\Main.py”, line
56, in
import wx
File “C:\Program Files\Python26\lib\site-packages\wx-2.8-msw-ansi\wx_init_.
py”, line 45, in
from wx._core import *
File “C:\Program Files\Python26\lib\site-packages\wx-2.8-msw-ansi\wx_core.py”
, line 4, in
import core
ImportError: DLL load failed: The specified module could not be found.

C:\Program Files\Python26\wxPython2.8 Docs and Demos\demo>

···

----- Original Message -----

From:
Zilla

To: wxpython-users@lists.wxwidgets.org

Sent: Tuesday, March 17, 2009 7:07 PM

Subject: Re: [wxpython-users] Running wxPython2.8 demo

I mispoke - I downloaded the wxPython extension for Python2.6 binaries (from www.wxpython.org)

so the demo should run correct?

----- Original Message -----

From:
Cody Precord

To: wxpython-users@lists.wxwidgets.org

Sent: Tuesday, March 17, 2009 6:37 PM

Subject: Re: [wxpython-users] Running wxPython2.8 demo

Hello,

On Mar 17, 2009, at 5:27 PM, Chris Fouts wrote:

  Ok, I have Python 2.6 and wxPython 2.6 installed. I downloaded the wxPython 2.8 demo, and accoding to the site, it should run on any versin. However it does NOT. I click on the "Run the demo" icon - nada. I double click on the demo.pyw file - nada. What gives?
By any version I think it means any of the python2.4, 2.5, or 2.6 runtimes. Not any version of wxPython, because newer versions of wxPython have many new controls and functionality that were not present in prior versions so a new version of the demo won't be able to run on an old version of the library where these features are not available.
You can go to the sourceforge page and look for the wxpython 2.6 versions of the demo. (or better yet upgrade to 2.8).

Cody



wxpython-users mailing list

wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users