Hello,
I try make same simple projekt in Pyramid 1.2, but I have problem when
I start paste server. Even when I try execute simple starter
application from https://docs.pylonsproject.org/projects/pyramid/1.2/,
I get exception like this:
Traceback (most recent call last):
File "helloworld.py", line 2, in <module>
from pyramid.config import Configurator
File "/home/marcin/VEnv/tests/lib/python2.7/site-packages/
pyramid-1.2.1-py2.7.egg/pyramid/__init__.py", line 1, in <module>
from pyramid.request import Request
File "/home/marcin/VEnv/tests/lib/python2.7/site-packages/
pyramid-1.2.1-py2.7.egg/pyramid/request.py", line 17, in <module>
from pyramid.url import URLMethodsMixin
File "/home/marcin/VEnv/tests/lib/python2.7/site-packages/
pyramid-1.2.1-py2.7.egg/pyramid/url.py", line 13, in <module>
from pyramid.threadlocal import get_current_registry
File "/home/marcin/VEnv/tests/lib/python2.7/site-packages/
pyramid-1.2.1-py2.7.egg/pyramid/threadlocal.py", line 3, in <module>
from pyramid.registry import global_registry
File "/home/marcin/VEnv/tests/lib/python2.7/site-packages/
pyramid-1.2.1-py2.7.egg/pyramid/registry.py", line 1, in <module>
from zope.component.registry import Components
File "/home/marcin/VEnv/tests/lib/python2.7/site-packages/
zope.component-3.11.0-py2.7.egg/zope/component/__init__.py", line 21,
in <module>
from zope.component.interfaces import ComponentLookupError
File "/home/marcin/VEnv/tests/lib/python2.7/site-packages/
zope.component-3.11.0-py2.7.egg/zope/component/interfaces.py", line
21, in <module>
from zope.interface.interfaces import ComponentLookupError
ImportError: cannot import name ComponentLookupError
I have Pyramid from easy_install.
When in python console I import zope.interface.interfaces and dir
this package, I see some think like this:
['Attribute', 'IAdapterRegistry', 'IAttribute', 'IDeclaration',
'IElement', 'IInterface', 'IInterfaceDeclaration', 'IMethod',
'ISpecification', 'Interface', '__builtins__', '__doc__',
'__docformat__', '__file__', '__name__', '__package__']
What I do wrong?
Thanks for help.
Best regards,
Marcin
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en.