当前位置:   article > 正文

Bert-VITS2本地部署遇到的错误_failed to build hdbscan error: could not build whe

failed to build hdbscan error: could not build wheels for hdbscan, which is

关于Bert-VITS2本地部署遇到的错误

1、在下载python中相关依赖时报错

building ‘hdbscan._hdbscan_tree’ extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools”: https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for hdbscan Failed to build hdbscan ERROR: Could not build wheels for hdbscan, which is required to install pyproject.toml-based projects

需要下载C++ 14.0,但按照链接下载内存高达10g,所以找到网上的方法;

https://myvs.download.prss.microsoft.com/dbazure/mu_visual_cpp_build_tools_2015_update_3_x64_dvd_dfd9a39c.iso?t=19805bde-a0f2-4147-84a1-d201ce86b5b7&e=1699738795&h=90ffc793c50d0e3a69585aa3a16668f1987ebbb5f9b4df9c22d4ce0c986eceb7&su=1

直接把下载链接挂出,只需要下载C++相关,速度灰常快,2分钟结束。

2、在打开推理网页报错

Resource cmudict not found.
Please use the NLTK Downloader to obtain the resource:

import nltk
nltk.download(‘cmudict’)

For more information see: https://www.nltk.org/data.html

需要下载cmudict放到指定位置,例:

下载链接

https://raw.githubusercontent.com/nltk/nltk_data/gh-pages/packages/corpora/cmudict.zip

image-20231112085508545

我是放到最后一个发现不管用,放到第二个就好了,嫌麻烦可以和我一样。

不定时持续更新;

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/weixin_40725706/article/detail/343677
推荐阅读
相关标签
  

闽ICP备14008679号