一、
参考:https://github.com/Parsely/pykafka/issues/222
[root@jyall.com tmp]#python check.py #报错如下Traceback (most recent call last):File "check.py", line 3, infrom kazoo.client import KazooClientFile "/usr/lib/python2.7/site-packages/kazoo/client.py", line 25, in from kazoo.hosts import collect_hostsFile "/usr/lib/python2.7/site-packages/kazoo/hosts.py", line 1, in from six.moves import urllib_parseImportError: cannot import name urllib_parse[root@jyall.com tmp]# sudo pip install six==1.9.0Collecting six==1.9.0InsecurePlatformWarningDownloading six-1.9.0-py2.py3-none-any.whlInstalling collected packages: sixFound existing installation: six 1.3.0Uninstalling six-1.3.0:Successfully uninstalled six-1.3.0Successfully installed six-1.9.0
二、