[web2py] Re: anyserver in 2.16.1-stable

2018-06-14 Thread Massimo Di Pierro
I think you installed this: https://pypi.org/project/motor/ The anyserver.py refers to some other motor package which I googled and I can no longer find. On Friday, 15 June 2018 05:05:17 UTC+2, 黄祥 wrote: > > $ which motor > $ python -V | pip list | grep motor > Python 2.7.15 :: Anaconda, Inc. >

[web2py] Re: anyserver in 2.16.1-stable

2018-06-14 Thread 黄祥
$ which motor $ python -V | pip list | grep motor Python 2.7.15 :: Anaconda, Inc. motor1.2.2 $ python >>> import motor >>> motor.WSGIContainer Traceback (most recent call last): File "", line 1, in AttributeError: 'module' object has no attribute 'WSGIContainer' best regards, stifan --

[web2py] Re: anyserver in 2.16.1-stable

2018-06-14 Thread Massimo Di Pierro
based on this it should work: https://www.programcreek.com/python/example/106961/motor.WSGIContainer can you try from shell: import motor motor.WSGIContainer maybe you installed something else called motor? On Monday, 11 June 2018 02:01:52 UTC+2, 黄祥 wrote: > > web2py version 2.16.1-stable > pyt