Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用python3.9,但出现以下错误:
ModuleNotFoundError: No module named 'pssh'
尝试按如下方式使用该库:-
from pssh.clients import ParallelSSHClient.
from pssh.clients import ParallelSSHClient
我尝试安装pssh如下: -
pssh
pip install pssh(在虚拟环境中)
pip install pssh
但错误并没有消失。
必须安装哪个库才能使上述导入工作?
在这种情况下,安装parallel-ssh会有所帮助:
pip install parallel-ssh.
pip install parallel-ssh
pssh似乎只在 python3.2 之前有效。