这个问题通常是缺少文件cascci.dll
或者版本错误 32 64弄错了
C:\Program Files (x86)\Python266>python.exePython 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) MSC v.1500 32 bit (Intel) on win32Type "help", "copyright", "credits" or "license" for more information.>>> import CUBRIDdbTraceback: File "<stdin>", line 1, in <module> File "C:\Program Files (x86)\Python266\lib\CUBRIDdb\__init__.py", line 9, in <module> import _cubridImportError: DLL load failed: %1 is not a valid Win32 application.>>>
没什么说的,下个正确的版本.或者用tlbimp 转一下.
没碰到过,下载源码也不错(没试过).