You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
Hi. I'm a bit of a noob with python, so excuse if this doesn't belong here.
On an ubuntu 12 system (yah!) I installed kafka-utils through pip and got 1.3.1, with python 2.7. when trying the rolling restart it gave this error:
Traceback (most recent call last):
File "/usr/local/bin/kafka-rolling-restart", line 3, in <module>
from kafka_utils.kafka_rolling_restart.main import run
File "/usr/local/lib/python2.7/dist-packages/kafka_utils/kafka_rolling_restart/main.py", line 36, in <module>
from kafka_utils.util.ssh import report_stderr
File "/usr/local/lib/python2.7/dist-packages/kafka_utils/util/ssh.py", line 25, in <module>
from paramiko.agent import AgentRequestHandler
ImportError: cannot import name AgentRequestHandler
The error was resolved by uninstalling and reinstalling paramiko
Uninstalling paramiko-1.7.7.1:
/usr/lib/python2.7/dist-packages/paramiko-1.7.7.1.egg-info
Proceed (y/n)? y
I'll just add I reinstalled kafka-utils and got 1.3.3, and so to have had 1.3.1 it must have already been installed there. Maybe this was already addressed. Or was some artefact of the earlier work. 🤷♂️
Hi. I'm a bit of a noob with python, so excuse if this doesn't belong here.
On an ubuntu 12 system (yah!) I installed kafka-utils through pip and got 1.3.1, with python 2.7. when trying the rolling restart it gave this error:
The error was resolved by uninstalling and reinstalling paramiko
Despite this being an old ubuntu, I'd have thought kafka-utils would handle the correct dependency?
The text was updated successfully, but these errors were encountered: