newbie to Pyramid I have tried to use the pyramid_simpleform but already fail when I only try to run the example onhttps://docs.pylonsproject.org/projects/pyramid-simpleform/en/latest/
My little non-cookiecutter trial project gives that @ invocation:
Traceback (most recent call last):
File "...\trypyramid_3.py", line 15, in <module>
File "...\trypyramid_3b_views.py", line 6, in <module>
from pyramid_simpleform import Form
File "...\env\lib\site-packages\pyramid_simpleform\__init__.py", line 175
except Invalid, e:
SyntaxError: invalid syntax
I have uninstalled and reinstalled pyramid_simpleform assuming that a dependecy might be the problem.
I even do not understand why python complains about the import already rather than the instantiation of the Form class.
I thought importing just making a module content available in the current namespace??
So how can I fix this problem?
Any hint appreciated. Thanks.