Menu

#3 ImportError: cannot import name gdi

open
nobody
None
5
2004-09-10
2004-09-10
Anonymous
No

When I try to run this, I get the error message below:

C:\Documents and Settings\Gregory>"C:\Documents and
Settings\Gregory\Desktop\pyd
bdesigner\PyDBDesigner\main.py"
C:\Python23\lib\site-packages\wxPython\ogl.py:15:
DeprecationWarning: This modul
e is deprecated. Please use the wx.lib.ogl package
instead.
import wx.ogl
Traceback (most recent call last):
File "C:\Documents and
Settings\Gregory\Desktop\pydbdesigner\PyDBDesigner\main
.py", line 5, in ?
from Gui import pydbMainApp
File "C:\Documents and
Settings\Gregory\Desktop\pydbdesigner\PyDBDesigner\Gui\ __init__.py", line 1, in ?
from Gui.pydbMainApp import *
File
"/home/gusthy/pydbdesigner/tmp/PyDBDesigner/Gui/pydbMainApp.py",
line 5,
in ?
File "C:\Documents and
Settings\Gregory\Desktop\pydbdesigner\PyDBDesigner\Gui\ pydbMainFrame.py", line 5, in ?
from PhysicalModelView import PhysicalModelView
File
"/home/gusthy/pydbdesigner/tmp/PyDBDesigner/Gui/PhysicalModelView.py",
li
ne 8, in ?
File "C:\Documents and
Settings\Gregory\Desktop\pydbdesigner\PyDBDesigner\Gui\ PhysicalRelationView.py", line 4, in ?
from wxPython import gdi
ImportError: cannot import name gdi

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.