RVC-Project / RVC-Project/Retrieval-based-Voice-Conversion-WebUI

import onnx onnx_cpp2py_export SOLUTION

Open
#2,235 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
38.4k
Forks
5.3k
PR merge metrics
No merged PRs in 30d

Description

I was having an issue launching RVC infer-web.py, it kept saying: Importing onnx fails with "DLL load failed while importing onnx_cpp2py_export"

Found the solution on this thread: https://github.com/onnx/onnx/issues/6267

Essentially there is an issue with the onnx version. I noticed in the requirements.txt it is one of the only libraries without a hardcoded version number.

The solution is:

pip uninstall onnx

pip install onnx==1.16.1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with requirements.txt and inspect how the unpinned onnx dependency is declared. Pin onnx to version 1.16.1, then run the documented installation and launch infer-web.py to verify that the onnx_cpp2py_export import error is resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.