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.
>
$ 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
--
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
3 matches
Mail list logo