$ pip install --upgrade flask-wechat
Requirement already up-to-date: flask-wechat in /Users/vng/Dropbox/Code/Paw/venv/lib/python2.7/site-packages
Requirement already up-to-date: requests==2.9.1 in /Users/vng/Dropbox/Code/Paw/venv/lib/python2.7/site-packages (from flask-wechat)
Requirement already up-to-date: Flask==0.10.1 in /Users/vng/Dropbox/Code/Paw/venv/lib/python2.7/site-packages (from flask-wechat)
Requirement already up-to-date: itsdangerous>=0.21 in /Users/vng/Dropbox/Code/Paw/venv/lib/python2.7/site-packages (from Flask==0.10.1->flask-wechat)
Requirement already up-to-date: Werkzeug>=0.7 in /Users/vng/Dropbox/Code/Paw/venv/lib/python2.7/site-packages (from Flask==0.10.1->flask-wechat)
Requirement already up-to-date: Jinja2>=2.4 in /Users/vng/Dropbox/Code/Paw/venv/lib/python2.7/site-packages (from Flask==0.10.1->flask-wechat)
Requirement already up-to-date: MarkupSafe in /Users/vng/Dropbox/Code/Paw/venv/lib/python2.7/site-packages (from Jinja2>=2.4->Flask==0.10.1->flask-wechat)
Runing:
python application.py
Traceback (most recent call last):
File "application.py", line 2, in <module>
from flask.ext.wechat import WeChat, filters
File "/Users/vng/Dropbox/Code/Paw/venv/lib/python2.7/site-packages/flask/exthook.py", line 81, in load_module
reraise(exc_type, exc_value, tb.tb_next)
File "/Users/vng/Dropbox/Code/Paw/venv/lib/python2.7/site-packages/flask_wechat/__init__.py", line 9, in <module>
from .filters import all as filter_all
File "/Users/vng/Dropbox/Code/Paw/venv/lib/python2.7/site-packages/flask_wechat/filters.py", line 5, in <module>
from .messages import WeChatRequest
ImportError: No module named messages
当你从pip install,
Runing:
No messages.py found in the directory. Any ideas?