Paramiko is a pure-Python(2.7, 3.4+) implementation of the SSHv2 protocol, providing both client and server functionality. It provides the foundation for the high-level SSH library Fabic, which is what we recommend you use for common client use-cases such as running remote shell commands or transferring files.
以上是Paramiko的官网介绍,大概意思就是:
Paramiko 是 SSHv2 协议的纯 Python(2.7, 3.4+) 实现,提供客户端和服务器功能。它提供高级SSH库结构的基础, 我们建议您用于常见客户端用例(例如运行远程外壳命令或传输文件)。
我这边的环境:
- zero wh,系统5.10.103+ #1529 Tue Mar 8 12:19:18 GMT 2022 armv6l GNU/Linux
- python3.7
用于将树莓派抓取的语音送到局域网其它服务器识别为文字。树莓派识别速度实在是不敢恭维。下面进入正题:
pip install paramiko -i https://pypi.mirrors.ustc.edu.cn/simple/
报错,回翻屏幕打印的信息,找到关键错误:
rust没有安装
那么先安装rust:
curl --proto '&