84669 人学习
152542 人学习
20005 人学习
5487 人学习
7821 人学习
359900 人学习
3350 人学习
180660 人学习
48569 人学习
18603 人学习
40936 人学习
1549 人学习
1183 人学习
32909 人学习
一个人写的确很累,尤其是在前端方面,有兴趣的可以看看,虽然有的代码很 low
演示地址:论坛: https://forums.honmaple.org/ 博客: https://honmaple.com/
源码地址:论坛:github.com/honmaple/maple-bbs博客:github.com/honmaple/maple-blog
小伙看你根骨奇佳,潜力无限,来学PHP伐。
pip install flask.ext.socketio
提示Downloading/unpacking flask.ext.socketio Could not fetch URL https://pypi.python.org/simple/flask.ext.socketio/: There was a problem coing routines:ASN1_item_verify:unknown message digest algorithm> Will skip URL https://pypi.python.org/simple/flask.ext.socketio/ when looking for download lin Could not fetch URL https://pypi.python.org/simple/: There was a problem confirming the ssl cetem_verify:unknown message digest algorithm> Will skip URL https://pypi.python.org/simple/ when looking for download links for flask.ext.so Cannot fetch index base URL https://pypi.python.org/simple/ Could not fetch URL https://pypi.python.org/simple/flask.ext.socketio/: There was a problem coing routines:ASN1_item_verify:unknown message digest algorithm> Will skip URL https://pypi.python.org/simple/flask.ext.socketio/ when looking for download lin Could not find any downloads that satisfy the requirement flask.ext.socketioNo distributions at all found for flask.ext.socketio
搜索了一下,要用 pip install flask_socketio这样能安装成功
但是运行
from flask.ext.socketio import SocketIO
提示 from flask.ext.socketio import SocketIO, emitImportError: cannot import name SocketIO换成 from flask_socketio import SocketIO 也一样
求问下place of file: maple/topic/forms.py后进行迁移会遇到RuntimeError: application not registered on db instance and no application bound to current context
pip install flask.ext.socketio
提示
Downloading/unpacking flask.ext.socketio
Could not fetch URL https://pypi.python.org/simple/flask.ext.socketio/: There was a problem co
ing routines:ASN1_item_verify:unknown message digest algorithm>
Will skip URL https://pypi.python.org/simple/flask.ext.socketio/ when looking for download lin
Could not fetch URL https://pypi.python.org/simple/: There was a problem confirming the ssl ce
tem_verify:unknown message digest algorithm>
Will skip URL https://pypi.python.org/simple/ when looking for download links for flask.ext.so
Cannot fetch index base URL https://pypi.python.org/simple/
Could not fetch URL https://pypi.python.org/simple/flask.ext.socketio/: There was a problem co
ing routines:ASN1_item_verify:unknown message digest algorithm>
Will skip URL https://pypi.python.org/simple/flask.ext.socketio/ when looking for download lin
Could not find any downloads that satisfy the requirement flask.ext.socketio
No distributions at all found for flask.ext.socketio
搜索了一下,要用 pip install flask_socketio
这样能安装成功
但是运行
提示 from flask.ext.socketio import SocketIO, emit
ImportError: cannot import name SocketIO
换成 from flask_socketio import SocketIO 也一样
求问下place of file: maple/topic/forms.py后进行迁移会遇到
RuntimeError: application not registered on db instance and no application bound to current context