[GH-ISSUE #21] AttributeError: 'VC' object has no attribute 'vc_infer'. #19

Closed
opened 2026-10-20 09:53:10 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @codecooker1 on GitHub (Mar 20, 2024).
Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion/issues/21

Just Ctrl+C and Ctrl+V ed the code sample in README but it doesn't seem to be working

It turns out that the code in package is not the same as this repo.
This is the command I used to install he package:
pip install rvc

**Comparations Below: **
This is the function vc_infer is used to do the infering.

rvc github version

But in the package the code looks like this. (vc_single instead of vc_infer)

rvc package version

This raises an AttributeError for those who follow the guide in README as there is nothing called vc_infer there.

Originally created by @codecooker1 on GitHub (Mar 20, 2024). Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion/issues/21 ### **Just Ctrl+C and Ctrl+V ed the code sample in README but it doesn't seem to be working** It turns out that the code in package is not the same as this repo. This is the command I used to install he package: `pip install rvc` **Comparations Below: ** This is the function `vc_infer` is used to do the infering. ![rvc github version](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion/assets/134213806/389b6f97-5df4-4795-900a-772bb12927ea) But in the package the code looks like this. (vc_single instead of vc_infer) ![rvc package version](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion/assets/134213806/19f5035c-c9b6-438c-992b-346234bf306d) This raises an `AttributeError` for those who follow the guide in README as there is nothing called `vc_infer` there.
bsakaguchi 2026-10-20 09:53:10 +00:00
Author
Owner

@Tps-F commented on GitHub (Mar 22, 2024):

Install the latest version from github, not pypi

<!-- gh-comment-id:2014285372 --> @Tps-F commented on GitHub (Mar 22, 2024): Install the latest version from github, not pypi
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
RVC-Project/Retrieval-based-Voice-Conversion#19
No description provided.