ImportError: No module named pxssh

python, python-2.7, ssh

Solution

Well, try `from pexpect import pxssh`.

update:

The solution only works for Linux as `pxssh` is not supported on Windows

Problem

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.

Original source