[Zope] Re: [Proiektor] Setup Dependencies

Stephan Richter srichter@cbu.edu
Thu, 07 Jun 2001 16:21:22 -0500


>
>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