ImportError: No module named pxssh

前端 未结 3 1548
情歌与酒
情歌与酒 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:33

    If the problem is not resolved by the earlier suggestion:

    from pexpect import pxssh
    

    The pexpect library might be outdated, so run:

     sudo pip install pexpect --upgrade
    

提交回复
热议问题