ModuleNotFoundError: No module named 'pssh'

2.2k views Asked by At

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?

1

There are 1 answers

0
Prabhatika Vij On BEST ANSWER

Installing parallel-ssh will help in this case:

pip install parallel-ssh.

pssh seems to work only till python3.2.