problem in wx - <type 'exceptions.ImportError'>: No module named _gdi_

hi everybody

Am new wxpython after installing wxpython for python version 2.7, I
tried running a script and had error and when i checked for wxpython
on python2.7 module the was displayed

problem in wx - <type 'exceptions.ImportError'>: No module named _gdi_

no module named _gdi_, how do i install this and fix this problem.
thanks

That's pretty core to wx, and shoudl hvae been installed with it.

What OS
How did you install Python, and what exact version?
How did you install wx?
What and how are you running your test code?

-Chris

···

On Fri, Jun 1, 2012 at 3:42 AM, nickson <nickson1301@gmail.com> wrote:

Am new wxpython after installing wxpython for python version 2.7, I
tried running a script and had error and when i checked for wxpython
on python2.7 module the was displayed

problem in wx - <type 'exceptions.ImportError'>: No module named _gdi_

no module named _gdi_, how do i install this and fix this problem.
thanks

--

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov

It's a good idea to keep these conversations on-list:

when i checked for wxpython
> on python2.7 module the was displayed

> problem in wx - <type 'exceptions.ImportError'>: No module named _gdi_

> no module named _gdi_, how do i install this and fix this problem.
> thanks

\>

thanks for your response
I use window 7
I installed python 2.7 and used the window wizard to install it i also
installed wxpython version for python 2.7 (unicode)
I tried running my code using python idle, it read error i then used
eclipse(pydev)and it did not work still. thanks and waiting for your
reply

any chance you have more than one python installed, and IDLE and
Eclipse are using teh wrong one?

I"d look at C: and see if there is more than one, it's usaully
installed in C:python2.7

also, to remove a possible issue, try running python straight from the
command line (DOS prompt):

python2.7

or maybe:

c:\python2.7\bin\python.exe

if that fails, try a re-install -- who knows?

-Chris

···

On Mon, Jun 4, 2012 at 1:26 AM, nickson <nickson1301@gmail.com> wrote:

On Jun 1, 5:40 pm, Chris Barker <chris.bar...@noaa.gov> wrote:

--

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov