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

关于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

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

不定时持续更新;

相关推荐

  1. springboot遇到错误

    2023-12-06 12:50:04       27 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2023-12-06 12:50:04       106 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2023-12-06 12:50:04       116 阅读
  3. 在Django里面运行非项目文件

    2023-12-06 12:50:04       95 阅读
  4. Python语言-面向对象

    2023-12-06 12:50:04       103 阅读

热门阅读

  1. [数据结构]串、数组 C++编程作业

    2023-12-06 12:50:04       49 阅读
  2. 多场景多任务优化

    2023-12-06 12:50:04       62 阅读
  3. 第九章 Map

    2023-12-06 12:50:04       67 阅读
  4. 介绍 TensorFlow 的基本概念和使用场景

    2023-12-06 12:50:04       58 阅读
  5. 机器学习在缺陷检测中的实际效果与应用案例

    2023-12-06 12:50:04       68 阅读