1.安装web.py
安装web.py的python3.x的版本不能直接pip3 install web.py,因为会报一堆错误, 要想用pip3安装可以执行pip3 install web.py==0.40.dev0
之后还需要该一点东西
D:\devlop\python\Lib\site-packages\web\utils.py
def take(seq, n):
for i in range(n):
yield next(seq)
改为
def take(seq, n):
for i in range(n):
try:
yield next(seq)
except StopIteration:
return