You are following documentation for an unsupported version of
Pyramid. See that little red button in the corner, "> Read the
latest version of this page"? Click it. You will have a much
better experience.
http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/project.html
--steve
On 3/14/17 at 9:42 AM,
vacation...@gmail.com pronounced:
>
>I am very new to Pyramid new as in I only heard of it a couple of days ago.
>I installed it using pip and was creating my first app. but I
>received the following error when I used the following command.
>pserve development.ini
>I am not sure what to do. Any help and thanks in advanced. I
>used the following guide.
http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/narr/project.html#project-narr
>I did not create an virtual environment.
>
>Starting server in PID 30147.Traceback (most recent call last):
>File "/usr/local/bin/pserve", line 9, in <module>
>load_entry_point('pyramid==1.8.3', 'console_scripts', 'pserve')()
>File "/usr/local/lib/python2.7/dist-packages/pyramid/scripts/pserve.py", line 40, in main
>return command.run()
>File "/usr/local/lib/python2.7/dist-packages/pyramid/scripts/pserve.py", line 235, in run
>server(app)
>File
>"/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py",
>line 189, in server_wrapper
>**context.local_conf)
>File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
>val = callable(*args, **kw)
>File "/usr/lib/python2.7/dist-packages/waitress/__init__.py", line 21, in serve_paste
>serve(app, **kw)
>File "/usr/lib/python2.7/dist-packages/waitress/__init__.py", line 11, in serve
>server = _server(app, **kw)
>File "/usr/lib/python2.7/dist-packages/waitress/server.py", line 39, in create_server
>adj = Adjustments(**kw)
>File "/usr/lib/python2.7/dist-packages/waitress/adjustments.py", line 180, in __init__
>raise ValueError('Unknown adjustment %r' % k)ValueError: Unknown adjustment 'listen'
>
------------------------
Steve Piercy, Soquel, CA