Petr Mensik Petr Mensik - 5 months ago 247
Python Question

ImportError: No module named pxssh

I am trying to use

pxssh
module to make SSH connection to the client - however I am getting

ImportError: No module named pxssh


I found this file in Python installation so I would guess that's correct

/usr/lib/python2.7/site-packages/pexpect/pxssh.py


I am of course running my app with Python 2.7 and I've even tried to import
pexpect
but that didn't help.

So, any hints?Thanks

Answer

Well, try from pexpect import pxssh.