【发布时间】:2011-12-30 09:51:04
【问题描述】:
如果我使用 cx_Oracle 5.0.4,我可以从 python 控制台连接,并在 apache+django+mod_wsgi 下工作
但是当我更新 cx_Oracle 5.1.1 时,我可以从 python 控制台连接,但是相同的代码在 apache+django+mod_wsgi 下不起作用
文件“C:\Python27\lib\site-packages\django\db\backends\oracle\base.py”,第 24 行,在
raise ImproperlyConfigured("加载 cx_Oracle 模块时出错:%s" % e)
TemplateSyntaxError: Caught ImproperlyConfigured while rendering: Error loading cx_Oracle module: DLL load failed: 找不到指定的模块。
PS:python 2.7
PSS:我已经安装了 MSVC 2008 Redistributable x86
【问题讨论】: