How do I install pxssh? Module not found

13k views Asked by At

I get the error message module not found for pxssh.

I am running ubuntu 16.04 with Python 2.7.12 with expect 4.0.1-1.

import pxssh
ImportError: No module named pxssh

Is pxssh included in pexpect

1

There are 1 answers

0
Railslide On BEST ANSWER

You need to import pxssh from pexpect:

from pexpect import pxssh

See the examples for the pxssh class from pexpect documentation.