安装whisper模块踩过的坑

安装whisper模块踩过的坑

    正在检查是否收录...

如果你和我一样,通过以下命令安装whisper

pip install git+https://github.com/openai/whisper.git 

但却出现了fatal: unable to access 'https://github.com/openai/whisper.git/': OpenSSL SSL_read: Connection was reset, errno 10054

那么只需要
在运行pip install之前在运行以下的命令,再次重新pip install ...即可

pip install setuptools-rust 

原因:
安装whisper需要先安装rust环境依赖。

官方在README.md有过说明

You may need rust installed as well, in case tiktoken does not provide a pre-built wheel for your platform. If you see installation errors during the pip install command above, please follow the Getting started page to install Rust development environment. Additionally, you may need to configure the PATH environment variable, e.g. export PATH="$HOME/.cargo/bin:$PATH". If the installation fails with No module named ‘setuptools_rust’, you need to install setuptools_rust, e.g. by running:

pip install setuptools-rust 

引用:https://github.com/openai/whisper#setup

codegitwhisperopenaigithubtiktokideelotokenurl
  • 本文作者:李琛
  • 本文链接: https://wapzz.net/post-2588.html
  • 版权声明:本博客所有文章除特别声明外,均默认采用 CC BY-NC-SA 4.0 许可协议。
本站部分内容来源于网络转载,仅供学习交流使用。如涉及版权问题,请及时联系我们,我们将第一时间处理。
文章很赞!支持一下吧 还没有人为TA充电
为TA充电
还没有人为TA充电
0
  • 支付宝打赏
    支付宝扫一扫
  • 微信打赏
    微信扫一扫
感谢支持
文章很赞!支持一下吧
关于作者
2.3W+
5
0
1
WAP站长官方

抖音跳舞不用真人出镜,一张照片就能生成高质量视频!字节新技术连抱抱脸CTO都下场体验了

上一篇

Windows11将以AI替代受欢迎的快捷方式

下一篇
  • 复制图片
按住ctrl可打开默认菜单