[Zope] Odd module import problem for product
Dieter Maurer
dieter@handshake.de
Tue, 23 Jul 2002 23:24:47 +0200
Pierce, Scott writes:
> Yeah, I actually have that set but the traceback doesn't tell me much
> because I know the directory and class exist:
> ...
> File "/export/home/Zope/zope/Products/DigitalDeals/DigitalDeals.py", line
> 31, in ?
> from Deals.Deals import Deals
> ImportError: No module named Deals.Deals
>
> This module does exist and works perfectly on a similar setup on a 2nd box.
> So, the question is:
> If an error exist in Deals, would it not show the error or simply the import
> error in the parent?
Where does "Deals/Deals.py" exists? In a folder covered by PYTHONPATH?
Maybe, your PYTHONPATH is different on the two machines?
Does your "Deals" folder contain an "__init__.py" file?
Dieter