zope 3.2 and imprt errors

zunbeltz at gmail.com zunbeltz at gmail.com
Thu Feb 16 10:30:28 EST 2006


Hi,

I've installed zope3.2 froma tarball. It has been installed in
/usrlocal/Zope-3-2. I am developing a package under
~/zope3instance/lib/python/  (which is my instance directory). My
PYTHONPATH
is:

/home/zunbeltz/libs/python/:/usr/local/Zope-3.2.0/lib/python:/home/zunbeltz/zope3instance/lib/python:/home/zunbeltz/pycontrol

I have the following error

Python 2.4.2 (#2, Sep 30 2005, 21:19:01)
[GCC 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from zope.app import container
>>> container.interfaces
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
AttributeError: 'module' object has no attribute 'interfaces'
>> container.interfaces.IContained
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
AttributeError: 'module' object has no attribute 'interfaces'

the file whre zope.app.container is :

/usr/local/Zope-3.2.0/lib/python/zope/app/container/__init__.pyc

And in this directory there is a module named interfaces

I'm becoming crazy, I don't know where is the problem.
Any idea?
Thanks in advance

Zunbeltz




More information about the Python-list mailing list