wxPython built for 2.1? - INSTALL problems
Darrell
news at dorb.com
Sun Apr 22 20:16:21 EDT 2001
It's looking for a package called wxPython.
>From the looks of things it can be found at "c:\\"
You added c:\\wxPython which would allow you to
import wx
not
import wxPython.wx
I like to place this stuff in the Python directory.
--Darrell
"Zenon C." <zenchm at usa.net> wrote in message
news:SBCE6.711609$JT5.18861407 at news20.bellglobal.com...
> I've been trying to install wxPython-2.2.5-Py20.EXE for the last two days
on
> Win2000 Professional.
> I instaled it to c:\wxpython. No problems
> but then the demo will not wotk.
>
> C:\wxpython\demo>python demo.py
> Traceback (most recent call last):
> File "demo.py", line 3, in ?
> import Main
> File "Main.py", line 15, in ?
> from wxPython.wx import *
> ImportError: No module named wxPython.wx
>
>
> I checked the path:
> >>> import sys
> >>> sys.path
> ['', 'c:\\wxpython', 'c:\\wxpython\\demo', 'c:\\python21\\dlls',
> 'c:\\python21\\lib', 'c:\\python21\\lib\\plat-win', 'c
> \\python21\\lib\\lib-tk', 'c:\\python21']
> >>>
>
>
> Then I tried:
> >>> import wxPython.wx
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> ImportError: No module named wxPython.wx
> >>>
> Then I tried:
> >>>import wx
>
> I get an alert box with this message:
> The dynamic link library python20.dll could not be found.......
>
> I searched my system for python20.dll - it is not anywhere in my system.
>
> I am completely lost.
>
> There seem to be many such problems listed on the wxPython user list.
> But no answers that would help.
>
> I know from reading that list that there are many people struggling
> with getting it to work.
>
> Any thoughts on what is going on?
> Thanks
> Zenon
>
>
>
> "G K" <karsaig at home.com> wrote in message
> news:YlsE6.10749$U4.2472137 at news1.rdc1.tn.home.com...
> > Subject says it all.
> > -- Gabor
> >
> >
> >
>
>
More information about the Python-list
mailing list