Search code examples
pythonpython-3.xpippsshparallel-ssh

ModuleNotFoundError: No module named 'pssh'


I am using python3.9 and I got the following error:

ModuleNotFoundError: No module named 'pssh'

on trying to use the library as follows: -

from pssh.clients import ParallelSSHClient.

I tried installing pssh as follows: -

pip install pssh (inside a virtual environment)

but the error didn't go away.

Which library has to be installed to make the above import work?


Solution

  • Installing parallel-ssh will help in this case:

    pip install parallel-ssh.

    pssh seems to work only till python3.2.