That was for the ZPyGreSWLDA Product PostGreSQL came pre-compiled for with cygwin. SR At 04:21 PM 6/7/2001 -0500, Stephan Richter wrote:
Traceback (innermost last): File "C:\Zopes\swlw001\lib\python\OFS\Application.py", line 528, in import_products product=__import__(pname, global_dict, global_dict, silly) File "C:\Zopes\swlw001\lib\python\Products\ZPyGreSQLDA\__init__.py", line 89, in ? import sys, os, Globals, DA File "C:\Zopes\swlw001\lib\python\Products\ZPyGreSQLDA\DA.py", line 91, in ? from db import DB File "C:\Zopes\swlw001\lib\python\Products\ZPyGreSQLDA\db.py", line 89, in ? import _pg, regex, sys, types ImportError: No module named _pg
I also compiled it with Phython 2.1 because that is what is in CygWin and I just wanted to see if it would work. But even though I compiled the ZPyGreSQLDA and placed it in the correct folder I still get this error.
Did you compile PyGreSQL? Or was it part of the ZPyGreSQLDA product? _pg is the main module of PyGreSQL. This module and some other files must be in the proper Python Lib directory, in order to work.
Regards, Stephan
-- Stephan Richter CBU - Physics and Chemistry Student Web2k - Web Design/Development & Technical Project Management
---------------------------------------------------- Sherwood Robinson Hostmaster The Free Lance-Star/Internet Department srobinson@fredericksburg.com http://www.fredericksburg.com 616 Amelia St. Fredericksburg, VA 22401 540-374-5000 ext. 5657