Hello, I am experiencing an issue while using the voice changer. I followed all the setup steps correctly, including:
Cloning the repository and installing dependencies ✅ (No errors)
Uploading a voice model (Optional) ✅ (Successful)
Starting the server using NGROK or HRZN ❌ (Error occurs)
When I try to start the server, I get the following error:
" Timer: 00:04:02/content/voice-changer/server/HVoice.py:3: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
from distutils.util import strtobool
Traceback (most recent call last):
File "/content/voice-changer/server/HVoice.py", line 10, in <module>
from downloader.SampleDownloader import downloadInitialSamples
File "/content/voice-changer/server/downloader/SampleDownloader.py", line 12, in <module>
from voice_changer.RVC.RVCModelSlotGenerator import RVCModelSlotGenerator
File "/content/voice-changer/server/voice_changer/RVC/RVCModelSlotGenerator.py", line 4, in <module>
import torch
ModuleNotFoundError: No module named 'torch'
WARNING:pyngrok.process.ngrok:t=2025-03-13T01:01:13+0000 lvl=warn msg="Stopping forwarder" name=http-41791-8218d946-4e2d-47dc-83a9-ea6cb52eab27 acceptErr="failed to accept connection: Listener closed"
--------- SERVER STOPPED! --------- "
I have ensured that I installed all dependencies as required, but it seems that the server cannot find the torch module. I also receive a warning about distutils being deprecated, though I believe this is not the cause of the issue.
Does anyone know how to fix this issue? Any help would be greatly appreciated! I have attached a screenshot of the error as well.
Thanks in advance! 😊