I would highly recommend also using a virtualenv in production for the same 
reason.

Bert

> On Mar 14, 2017, at 13:02, [email protected] wrote:
> 
> Thanks Bert
> I will go the virtual environment way.  I just wanted everything the same as 
> it would be in production.
> 
> On Tuesday, March 14, 2017 at 1:55:19 PM UTC-4, Bert JW Regeer wrote:
> The version of waitress is not in-line with a version that supports the 
> listen attribute.
> 
> Please see 
> http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/install.html 
> <http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/install.html> 
> for installing Pyramid and it’s dependencies correctly, you most likely want 
> a virtual environment so that you don’t run into issues with the 
> distributions installed versions of packages.
> 
> Bert
> 
>> On Mar 14, 2017, at 10:42, [email protected] <javascript:> wrote:
>> 
>> 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
>>  
>> <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'
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "pylons-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/pylons-discuss/7409e178-5204-42ee-a47d-1aaca990107a%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/pylons-discuss/7409e178-5204-42ee-a47d-1aaca990107a%40googlegroups.com?utm_medium=email&utm_source=footer>.
>> For more options, visit https://groups.google.com/d/optout 
>> <https://groups.google.com/d/optout>.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "pylons-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pylons-discuss/f8c1d2cc-ef90-48d9-87f4-57c05c94e204%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/pylons-discuss/f8c1d2cc-ef90-48d9-87f4-57c05c94e204%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pylons-discuss/DDCD34B0-ED48-41D2-8F57-5340E0482332%400x58.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to