[GH-ISSUE #1286] ModuleNotFoundError: No module named 'infer.lib.jit.torchgate' #843

Closed
opened 2026-10-20 10:03:34 +00:00 by bsakaguchi · 7 comments
Owner

Originally created by @gotothehill on GitHub (Sep 20, 2023).
Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/1286

拉取最新代码后,运行 python gui_v1.py,报错:
Traceback (most recent call last):
File ".\gui_v1.py", line 54, in
from infer.lib.jit.torchgate import TorchGate
ModuleNotFoundError: No module named 'infer.lib.jit.torchgate'

Originally created by @gotothehill on GitHub (Sep 20, 2023). Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/1286 拉取最新代码后,运行 python gui_v1.py,报错: Traceback (most recent call last): File ".\gui_v1.py", line 54, in <module> from infer.lib.jit.torchgate import TorchGate ModuleNotFoundError: No module named 'infer.lib.jit.torchgate'
Author
Owner

@venometric commented on GitHub (Sep 20, 2023):

try this.
pip uninstall infer.lib.jit.torchgate
pip install infer.lib.jit.torchgate

<!-- gh-comment-id:1727650530 --> @venometric commented on GitHub (Sep 20, 2023): try this. pip uninstall infer.lib.jit.torchgate pip install infer.lib.jit.torchgate
Author
Owner

@cccRaim commented on GitHub (Sep 20, 2023):

try this. pip uninstall infer.lib.jit.torchgate pip install infer.lib.jit.torchgate

ERROR: No matching distribution found for infer.lib.jit.torchgate

<!-- gh-comment-id:1727882081 --> @cccRaim commented on GitHub (Sep 20, 2023): > try this. pip uninstall infer.lib.jit.torchgate pip install infer.lib.jit.torchgate ERROR: No matching distribution found for infer.lib.jit.torchgate
Author
Owner

@venometric commented on GitHub (Sep 20, 2023):

try this. pip uninstall infer.lib.jit.torchgate pip install infer.lib.jit.torchgate

ERROR: No matching distribution found for infer.lib.jit.torchgate

Can't figure out the problem... but you could try to reinstall the correct torch again

<!-- gh-comment-id:1728522621 --> @venometric commented on GitHub (Sep 20, 2023): > > try this. pip uninstall infer.lib.jit.torchgate pip install infer.lib.jit.torchgate > > ERROR: No matching distribution found for infer.lib.jit.torchgate Can't figure out the problem... but you could try to reinstall the correct torch again
Author
Owner

@Tps-F commented on GitHub (Sep 20, 2023):

Please use the latest

<!-- gh-comment-id:1728545781 --> @Tps-F commented on GitHub (Sep 20, 2023): Please use the latest
Author
Owner

@gotothehill commented on GitHub (Sep 21, 2023):

Please use the latest

I pulled the latest code. Still the same error.
image
image

<!-- gh-comment-id:1728665179 --> @gotothehill commented on GitHub (Sep 21, 2023): > Please use the latest I pulled the latest code. Still the same error. ![image](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/assets/133727960/765f1bad-be99-4fca-b46e-ddb9e3165548) ![image](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/assets/133727960/7ba5f603-3723-4086-962e-fd913cfa3d55)
Author
Owner

@RVC-Boss commented on GitHub (Oct 7, 2023):

from tools.torchgate import TorchGate

We're updating the codes in dev branch 2weeks ago. Now main branch and dev branch are updated.

<!-- gh-comment-id:1751587565 --> @RVC-Boss commented on GitHub (Oct 7, 2023): from tools.torchgate import TorchGate We're updating the codes in dev branch 2weeks ago. Now main branch and dev branch are updated.
Author
Owner

@RVC-Boss commented on GitHub (Oct 7, 2023):

@gotothehill

<!-- gh-comment-id:1751587589 --> @RVC-Boss commented on GitHub (Oct 7, 2023): @gotothehill
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-WebUI#843
No description provided.