myshell-ai / OpenVoice

Instant voice cloning by MIT and MyShell.
https://research.myshell.ai/open-voice
MIT License
29.64k stars 2.91k forks source link

RuntimeError: Problem when installing silero with version None. #82

Open Hanoso opened 10 months ago

Hanoso commented 10 months ago

run demo_part1.ipynb to here code: reference_speaker = 'resources/example_reference.mp3' target_se, audio_name = se_extractor.get_se(reference_speaker, tone_color_converter, target_dir='processed', vad=True)

Then got error as below:


FileNotFoundError Traceback (most recent call last) File C:\Program Files\Python39\lib\urllib\request.py:1346, in AbstractHTTPHandler.do_open(self, http_class, req, **http_conn_args) 1345 try: -> 1346 h.request(req.get_method(), req.selector, req.data, headers, 1347 encode_chunked=req.has_header('Transfer-encoding')) 1348 except OSError as err: # timeout error

File C:\Program Files\Python39\lib\http\client.py:1285, in HTTPConnection.request(self, method, url, body, headers, encode_chunked) 1284 """Send a complete request to the server.""" -> 1285 self._send_request(method, url, body, headers, encode_chunked)

File C:\Program Files\Python39\lib\http\client.py:1331, in HTTPConnection._send_request(self, method, url, body, headers, encode_chunked) 1330 body = _encode(body, 'body') -> 1331 self.endheaders(body, encode_chunked=encode_chunked)

File C:\Program Files\Python39\lib\http\client.py:1280, in HTTPConnection.endheaders(self, message_body, encode_chunked) 1279 raise CannotSendHeader() -> 1280 self._send_output(message_body, encode_chunked=encode_chunked)

File C:\Program Files\Python39\lib\http\client.py:1040, in HTTPConnection._send_output(self, message_body, encode_chunked) 1039 del self._buffer[:] -> 1040 self.send(msg) 1042 if message_body is not None: 1043 ... -> 1889 raise RuntimeError(f"Problem when installing silero with version {version}. Check versions here: https://github.com/snakers4/silero-vad/wiki/Version-history-and-Available-Models") from err 1890 finally: 1891 if need_folder_hack:

RuntimeError: Problem when installing silero with version None. Check versions here: https://github.com/snakers4/silero-vad/wiki/Version-history-and-Available-Models Output is truncated. View as a scrollable element or open in a text editor. Adjust cell output settings...

Could somebody help me to deal with it? Thank you very much.

RamboRogers commented 10 months ago

https://github.com/myshell-ai/OpenVoice/issues/57

707500190 commented 9 months ago

i also have this error

707500190 commented 9 months ago

i just change execution type from ipynb to .py ,error was disapear

707500190 commented 9 months ago

you can try to copy jupyter file content to a new .py file ,then execute it, the problem maybe resolved 😎

Zengyi-Qin commented 9 months ago

https://github.com/myshell-ai/OpenVoice/blob/main/docs/QA.md#issues-with-installation