Hello Everybody: I am using Cygwin on Windows ME. When I had Python 2.3.2 installred I tried to import pgdb module to make a connection to PostgreSQL 7.4 but never made a succeed importing "pgdb". See in the next lines why:
-------------------------- >>> import pgdb Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/lib/python2.3/site-packages/pgdb.py", line 56, in ? ImportError: No module named _pg >>> ------------------------------ I looked for "/usr/lib/python2.3/site-packages/pgdb.py" but my "/usr/lib" directory is empty. Besides I don't have the pgdb.py file, I only have pgdb.pyc file located in "/lib/python2.3/site-packages" directory. I can open the pgdb.pyc but I can't read it. Really I don't know why I get this message and I don't know what to do. Recently I upgraded to Python 2.3.3 and I thought that now It was possible to import the pgdb module. But again the ouptput is the same: -------------------------- >>> import pgdb Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/lib/python2.3/site-packages/pgdb.py", line 56, in ? ImportError: No module named _pg >>> ------------------------------ The comments I made lines up, about the existence of pgdb.py and the llocation of pgdb.pyc, etc, can be applied here. Does anyone tell me what must I do? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/