现象:
装完新版mrq运行示例又报错:
[root@web4 test-mrq]# mrq-run tasks.Fetch url http://www.google.com Traceback (most recent call last): File "/bin/mrq-run", line 5, infrom pkg_resources import load_entry_point File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3011, in parse_requirements(__requires__), Environment() File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: Flask==0.10.1
解决方法:
yum install python-flask
继续报错:
[root@web4 test-mrq]# mrq-run tasks.Fetch url http://www.google.com Traceback (most recent call last): File "/bin/mrq-run", line 5, infrom pkg_resources import load_entry_point File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3011, in parse_requirements(__requires__), Environment() File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: subprocess32==3.2.5