From: jason.meiers on
For some reason the _db2 module cannot be imported. Have you had this
issue before?


[root(a)server1test]# python test_basic.py
Traceback (most recent call last):
File "test_basic.py", line 2, in ?
import DB2
File "/home/itmuser/scripts/lib/PyDB2-1.1.0/test/DB2.py", line 10, in
?
import _db2
ImportError: No module named _db2

From: Fredrik Lundh on
jason.meiers(a)gmail.com wrote:

> For some reason the _db2 module cannot be imported. Have you had this
> issue before?

my guess is that _db2 is a binary driver module used by the DB2.py
module. did you follow the installation instructions carefully ?
have you looked for _db2.so or _db2module.so files on your machine ?

</F>