1 Traceback (most recent call last): 2 File "./main.py", line 5, in <module> 3 from zkOperate import ZKoperate 4 File "/opt/adb/zkOperate.py", line 2, in <module> 5 import zookeeper 6 ImportError: No module named zookeeper
百度一圈未找到解决方案。
缺失zkpython 问题
yum install zookeeper zookeeper-devel
pip install zkpython
/etc/init.d/zookeeper start
问题解决
原文地址:https://www.cnblogs.com/fusx/p/10599448.html
时间: 2024-10-09 00:49:37