ImportError: No module named pxssh

前端 未结 3 1539
情歌与酒
情歌与酒 2021-02-19 19:12

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

ImportError: No module named pxssh

I

3条回答
  •  天涯浪人
    2021-02-19 19:43

    If /usr/lib/python2.7/site-packages/pexpect/pxssh.py exists, then use the below command

    python2.7 'yourprogram.py'

    as python command is not linked to 2.7 version. Please check python -V to get the version.

提交回复
热议问题