Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

who can help me? #907

Open
fzy1229 opened this issue May 12, 2024 · 0 comments
Open

who can help me? #907

fzy1229 opened this issue May 12, 2024 · 0 comments

Comments

@fzy1229
Copy link

fzy1229 commented May 12, 2024

venv "venv\Scripts\Python.exe"
Python 3.8.10 (tags/v3.8.10:3d8993a, May 3 2021, 11:48:03) [MSC v.1928 64 bit (AMD64)]
Commit hash: cd4c046
Installing requirements for SadTalker WebUI (may take longer time in first time)
Traceback (most recent call last):
File "Launcher.py", line 203, in
prepare_environment()
File "Launcher.py", line 189, in prepare_environment
run_pip(f"install -r "{requirements_file}"", "requirements for SadTalker WebUI (may take longer time in first time)")
File "Launcher.py", line 118, in run_pip
return run(f'"{python}" -m pip {args} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}")
File "Launcher.py", line 86, in run
raise RuntimeError(message)
RuntimeError: Couldn't install requirements for SadTalker WebUI (may take longer time in first time).
Command: "C:\Users\34350\SadTalker\venv\Scripts\python.exe" -m pip install -r "requirements.txt" --prefer-binary
Error code: 2
stdout: Collecting numpy==1.23.4
Using cached numpy-1.23.4-cp38-cp38-win_amd64.whl (14.7 MB)
Collecting face_alignment==1.3.5
Using cached face_alignment-1.3.5-py2.py3-none-any.whl (29 kB)
Collecting imageio==2.19.3
Using cached imageio-2.19.3-py3-none-any.whl (3.4 MB)
Collecting imageio-ffmpeg==0.4.7
Using cached imageio_ffmpeg-0.4.7-py3-none-win_amd64.whl (22.6 MB)
Collecting librosa==0.9.2
Using cached librosa-0.9.2-py3-none-any.whl (214 kB)
Collecting numba
Using cached numba-0.58.1-cp38-cp38-win_amd64.whl (2.6 MB)
Collecting resampy==0.3.1
Using cached resampy-0.3.1-py3-none-any.whl (3.1 MB)
Collecting pydub==0.25.1
Using cached pydub-0.25.1-py2.py3-none-any.whl (32 kB)
Collecting scipy==1.10.1
Using cached scipy-1.10.1-cp38-cp38-win_amd64.whl (42.2 MB)
Collecting kornia==0.6.8
Using cached kornia-0.6.8-py2.py3-none-any.whl (551 kB)
Collecting tqdm
Using cached tqdm-4.66.4-py3-none-any.whl (78 kB)
Collecting yacs==0.1.8
Using cached yacs-0.1.8-py3-none-any.whl (14 kB)
Collecting pyyaml
Using cached PyYAML-6.0.1-cp38-cp38-win_amd64.whl (157 kB)
Collecting joblib==1.1.0
Using cached joblib-1.1.0-py2.py3-none-any.whl (306 kB)
Collecting scikit-image==0.19.3
Using cached scikit_image-0.19.3-cp38-cp38-win_amd64.whl (12.2 MB)
Collecting basicsr==1.4.2
Using cached basicsr-1.4.2.tar.gz (172 kB)
Collecting facexlib==0.3.0
Downloading facexlib-0.3.0-py3-none-any.whl (59 kB)
Collecting gradio
Downloading gradio-4.31.0-py3-none-any.whl (12.3 MB)

stderr: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001978664D760>, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)')': /packages/36/7b/2147339dafe1c4800514c9c21ee4444f8b419ce51dfc7695220a8e0069a6/facexlib-0.3.0-py3-none-any.whl
ERROR: Exception:
Traceback (most recent call last):
File "C:\Users\34350\SadTalker\venv\lib\site-packages\pip_vendor\urllib3\response.py", line 438, in _error_catcher
yield
File "C:\Users\34350\SadTalker\venv\lib\site-packages\pip_vendor\urllib3\response.py", line 519, in read
data = self._fp.read(amt) if not fp_closed else b""
File "C:\Users\34350\SadTalker\venv\lib\site-packages\pip_vendor\cachecontrol\filewrapper.py", line 62, in read
data = self.__fp.read(amt)
File "C:\Users\34350\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 455, in read
n = self.readinto(b)
File "C:\Users\34350\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 499, in readinto
n = self.fp.readinto(b)
File "C:\Users\34350\AppData\Local\Programs\Python\Python38\lib\socket.py", line 669, in readinto
return self._sock.recv_into(b)
File "C:\Users\34350\AppData\Local\Programs\Python\Python38\lib\ssl.py", line 1241, in recv_into
return self.read(nbytes, buffer)
File "C:\Users\34350\AppData\Local\Programs\Python\Python38\lib\ssl.py", line 1099, in read
return self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\34350\SadTalker\venv\lib\site-packages\pip_internal\cli\base_command.py", line 180, in _main
status = self.run(options, args)
File "C:\Users\34350\SadTalker\venv\lib\site-packages\pip_internal\cli\req_command.py", line 204, in wrapper
return func(self, options, args)
File "C:\Users\34350\SadTalker\venv\lib\site-packages\pip_internal\commands\install.py", line 318, in run
requirement_set = resolver.resolve(
File "C:\Users\34350\SadTalker\venv\lib\site-packages\pip_internal\resolution\resolvelib\resolver.py", line 127, in resolve
result = self._result = resolver.resolve(
File "C:\Users\34350\SadTalker\venv\lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 473, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "C:\Users\34350\SadTalker\venv\lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 341, in resolve
name, crit = self._merge_into_criterion(r, parent=None)
File "C:\Users\34350\SadTalker\venv\lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 172, in _merge_into_criterion
if not criterion.candidates:
File "C:\Users\34350\SadTalker\venv\lib\site-packages\pip_vendor\resolvelib\structs.py", line 139, in bool
return bool(self._sequence)
File "C:\Users\34350\SadTalker\venv\lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 143, in bool
return any(self)
File "C:\Users\34350\SadTalker\venv\lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 129, in
return (c for c in iterator if id(c) not in self._incompatible_ids)
File "C:\Users\34350\SadTalker\venv\lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 33, in _iter_built
candidate = func()
File "C:\Users\34350\SadTalker\venv\lib\site-packages\pip_internal\resolution\resolvelib\factory.py", line 200, in _make_candidate_from_link
self._link_candidate_cache[link] = LinkCandidate(
File "C:\Users\34350\SadTalker\venv\lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 306, in init
super().init(
File "C:\Users\34350\SadTalker\venv\lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 151, in init
self.dist = self._prepare()
File "C:\Users\34350\SadTalker\venv\lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 234, in _prepare
dist = self._prepare_distribution()
File "C:\Users\34350\SadTalker\venv\lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 317, in _prepare_distribution
return self._factory.preparer.prepare_linked_requirement(
File "C:\Users\34350\SadTalker\venv\lib\site-packages\pip_internal\operations\prepare.py", line 508, in prepare_linked_requirement
return self._prepare_linked_requirement(req, parallel_builds)
File "C:\Users\34350\SadTalker\venv\lib\site-packages\pip_internal\operations\prepare.py", line 550, in _prepare_linked_requirement
local_file = unpack_url(
File "C:\Users\34350\SadTalker\venv\lib\site-packages\pip_internal\operations\prepare.py", line 239, in unpack_url
file = get_http_url(
File "C:\Users\34350\SadTalker\venv\lib\site-packages\pip_internal\operations\prepare.py", line 102, in get_http_url
from_path, content_type = download(link, temp_dir.path)
File "C:\Users\34350\SadTalker\venv\lib\site-packages\pip_internal\network\download.py", line 157, in call
for chunk in chunks:
File "C:\Users\34350\SadTalker\venv\lib\site-packages\pip_internal\cli\progress_bars.py", line 152, in iter
for x in it:
File "C:\Users\34350\SadTalker\venv\lib\site-packages\pip_internal\network\utils.py", line 62, in response_chunks
for chunk in response.raw.stream(
File "C:\Users\34350\SadTalker\venv\lib\site-packages\pip_vendor\urllib3\response.py", line 576, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "C:\Users\34350\SadTalker\venv\lib\site-packages\pip_vendor\urllib3\response.py", line 541, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File "C:\Users\34350\AppData\Local\Programs\Python\Python38\lib\contextlib.py", line 131, in exit
self.gen.throw(type, value, traceback)
File "C:\Users\34350\SadTalker\venv\lib\site-packages\pip_vendor\urllib3\response.py", line 443, in _error_catcher
raise ReadTimeoutError(self._pool, None, "Read timed out.")
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
WARNING: You are using pip version 21.1.1; however, version 24.0 is available.
You should consider upgrading via the 'C:\Users\34350\SadTalker\venv\Scripts\python.exe -m pip install --upgrade pip' command.

Launch unsuccessful. Exiting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant