关于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,所以找到网上的方法;
直接把下载链接挂出,只需要下载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
我是放到最后一个发现不管用,放到第二个就好了,嫌麻烦可以和我一样。
不定时持续更新;