[Zope] Another import doesn't find the module
Passin, Tom
tpassin@mitretek.org
Wed, 28 May 2003 10:48:46 -0400
[Stacy Roberts]
> I am attempting to import another class for use and Zope now=20
> complains 'cannot import name profile'.
>=20
>=20
> My Product structure in a bit more detail is:
>=20
> Products
> - Resources
> -FGDC
> -__init__.py
> -profile.py
> -BIO
> -scripts
> -script1.py
> -dtml
> -www
> -extensions
> -DISTINFO.py which contains a class of the same name
>=20
>
You need an __init__.py in each directory in the path to your target.
In this case, you need one in the Resources directory too.
Cheers,
Tom P