When I try and run xrced.py, I get the following errors in IDLE:
Please, what am I doing wrong?
Thanks!

IDLE 2.6.1 ==== No Subprocess ====
>>>
Traceback (most recent call last):
File "C:\Python26\wx-2.6-msw-unicode\wx\tools\XRCed\xrced.py", line 23, in <module>
from globals import *
File "C:\Python26\wx-2.6-msw-unicode\wx\tools\XRCed\globals.py", line 7, in <module>
from wxPython.wx import *
File "C:\Python26\wx-2.6-msw-unicode\wxPython\__init__.py", line 10, in <module>
import _wx
File "C:\Python26\wx-2.6-msw-unicode\wxPython\_wx.py", line 3, in <module>
from _core import *
File "C:\Python26\wx-2.6-msw-unicode\wxPython\_core.py", line 15, in <module>
import wx._core
File "C:\Python26\wx-2.6-msw-unicode\wx\__init__.py", line 42, in <module>
from wx._core import *
File "C:\Python26\wx-2.6-msw-unicode\wx\_core.py", line 4, in <module>
import _core_
ImportError: DLL load failed: The specified module could not be found.
>>>

PYTHONPATH C:\Python26\Lib; C:\Python26\Libs; C:\Python26\Tools; C:\Python26\wxPython; C:\Python26\Lib\site-packages; C:\Python26\wx-2.6-msw-unicode\wx\tools\XRCed

PYTHON C:\Python26\Lib; C:\Python26\Tools; C:\Python26\Libs; C:\Python26\wx-2.6-msw-unicode\wx\tools\XRCed

BTW: Is the 'wx-2.6-msw-unicode' the proper wx to be running with Python 2.6 ?? Thanks!

Recommended Answers

What was the name of your windows install file?
It should be something like:
wxPython2.8-win32-unicode-2.8.9.1-py26.exe

You would normally find wx in:
C:\Python26\Lib\site-packages\wx-2.8-msw-unicode\wx

Jump to Post

All 4 Replies

What was the name of your windows install file?
It should be something like:
wxPython2.8-win32-unicode-2.8.9.1-py26.exe

You would normally find wx in:
C:\Python26\Lib\site-packages\wx-2.8-msw-unicode\wx

python-2.6.1.msi
wxPython2.6-win32-unicode-2.6.3.3-py25.exe
wxPython2.6-win32-docs-demos-2.6.3.3.exe

Thanks!

Directory of C:\Python26\

DLLs
Doc
include
Lib
libs
tcl
Tools
wx-2.6-msw-unicode
docs
wx
wxPython
wxaddons

The file 'wxPython2.6-win32-unicode-2.6.3.3-py25.exe'
is your problem, it is meant for Python25 (hence the py25) and will not work with Python26! wxPython2.6 is the version of wxPython and not the Python version!

Get the py26 version at:
http://downloads.sourceforge.net/wxpython/wxPython2.8-win32-unicode-2.8.9.2-py26.exe

Delete the 'wx-2.6-msw-unicode' directory before you install the correct version!

Aha!
Wonderful
Thanks!
" http://downloads.sourceforge.net/wxp...8.9.2-py26.exe "
did the trick.
Now stuff works.
I googled the above address
and ended up here:
http://www.mirrorservice.org/sites/download.sourceforge.net/pub/sourceforge/w/wx/wxpython/

A great find for me, because I have a hard time finding stuff on SourceForge.
Maybe we could start an 'info matrix' (which version goes with which) for Python on sourceForge . I could do the setting up work, if I had someone that knows which<->which.
Anyways, Thanks again!
...Vern

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.