为什么 Python informixdb 包抛出错误!
我已经下载并 安装了最新的 Python InformixDB 包,但是当我尝试从 shell 导入它时,我收到以下 Windows 对话框形式的错误!
“无法在动态链接 isqlit09a.dll 中找到过程入口点 sqli_describe_input_stmt”
知道发生了什么吗?
平台:Windows Vista(商业版)、Python 2.5。
I have downloaded & installed the latest Python InformixDB package, but when I try to import it from the shell, I am getting the following error in the form of a Windows dialog box!
"A procedure entry point sqli_describe_input_stmt could not be located in the dynamic link isqlit09a.dll"
Any ideas what's happening?
Platform: Windows Vista (Biz Edition), Python 2.5.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您使用的是哪个版本的 IBM Informix Connect (I-Connect) 或 IBM Informix ClientSDK (CSDK)? “描述输入”功能是最近添加的,但您很可能已经拥有它。
您是否能够从命令 shell 连接到任何 Informix DBMS? 如果不是,那么一定怀疑是你没有正确的环境。 您可能需要指定 $INFORMIXDIR (或 %INFORMIXDIR% - 我将从这里开始省略 '$' 和 '%' 符号); 您需要设置 INFORMIXSERVER 才能成功连接; 您需要在 PATH 上有正确的目录(在 Windows 上可能是 INFORMIXDIR/bin;在 Unix 上,它是 INFORMIXDIR/lib 和 INFORMIXDIR/lib/esql 或 INFORMIXDIR/lib/odbc)。
Which version of IBM Informix Connect (I-Connect) or IBM Informix ClientSDK (CSDK) are you using? The 'describe input' function is a more recent addition, but it is likely that you have it.
Have you been able to connect to any Informix DBMS from the command shell? If not, then the suspicion must be that you don't have the correct environment. You would probably need to specify $INFORMIXDIR (or %INFORMIXDIR% - I'm going to omit '$' and '%' sigils from here on); you would need to set INFORMIXSERVER to connect successfully; you would need to have the correct directory (probably INFORMIXDIR/bin on Windows; on Unix, it would be INFORMIXDIR/lib and INFORMIXDIR/lib/esql or INFORMIXDIR/lib/odbc) on your PATH.
连接数据库的其他方式是否有效?
可以使用(在控制面板中配置)ODBC吗? 如果 ODBC 有效,那么您可以使用 Python win32 扩展(ActiveState 发行版附带它)并且有 ODBC 支持。 您还可以使用 Jython,它可以通过 JDBC-ODBC 桥或 Informix JDBC 驱动程序与 ODBC 配合使用。
Does other way to connect to database work?
Can you use (configure in control panel) ODBC? If ODBC works then you can use Python win32 extensions (ActiveState distribution comes with it) and there is ODBC support. You can also use Jython which can work with ODBC via JDBC-ODBC bridge or with Informix JDBC driver.