zope 3.2 and imprt errors

Z

zunbeltz

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.Traceback (most recent call last):
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
 
B

Benji York

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.

Traceback (most recent call last):
File "<stdin>", line 1, in ?
AttributeError: 'module' object has no attribute 'interfaces'

Try this instead:
<InterfaceClass zope.app.container.interfaces.IContained>
 
Z

zunbeltz

Hi Benji

Thanks, but i've solved installing zope from svn instead of tarball

Regars

Zunbeltz
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top