lllyasviel / lllyasviel/stable-diffusion-webui-forge
Problem running run.bat after installing
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
I have no idea what i did but this is the first time i do this stuff. When i run the "run.bat", it gives me this in CMD:
> Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
> Version: f2.0.1v1.10.1-previous-665-gae278f79
> Commit hash: ae278f794069a69b79513e16207efc7f1ffdf406
> Installing requirements
> Installing forge_legacy_preprocessor requirement: fvcore
> Installing forge_legacy_preprocessor requirement: mediapipe
> Couldn't install forge_legacy_preprocessor requirement: mediapipe.
> Command: "C:\Users\Argenta\Downloads\webui_forge_cu121_torch231\system\python\python.exe" -m pip install mediapipe --prefer-binary
> Error code: 2
> stdout: Collecting mediapipe
> Downloading mediapipe-0.10.21-cp310-cp310-win_amd64.whl.metadata (10 kB)
> Requirement already satisfied: absl-py in c:\users\argenta\downloads\webui_forge_cu121_torch231\system\python\lib\site-packages (from mediapipe) (2.1.0)
> Requirement already satisfied: attrs>=19.1.0 in c:\users\argenta\downloads\webui_forge_cu121_torch231\system\python\lib\site-packages (from mediapipe) (23.2.0)
> Collecting flatbuffers>=2.0 (from mediapipe)
> Downloading flatbuffers-25.2.10-py2.py3-none-any.whl.metadata (875 bytes)
> Collecting jax (from mediapipe)
> Downloading jax-0.6.1-py3-none-any.whl.metadata (13 kB)
> Collecting jaxlib (from mediapipe)
> Downloading jaxlib-0.6.1-cp310-cp310-win_amd64.whl.metadata (1.2 kB)
> Requirement already satisfied: matplotlib in c:\users\argenta\downloads\webui_forge_cu121_torch231\system\python\lib\site-packages (from mediapipe) (3.8.2)
> Requirement already satisfied: numpy<2 in c:\users\argenta\downloads\webui_forge_cu121_torch231\system\python\lib\site-packages (from mediapipe) (1.26.2)
> Requirement already satisfied: opencv-contrib-python in c:\users\argenta\downloads\webui_forge_cu121_torch231\system\python\lib\site-packages (from mediapipe) (4.9.0.80)
> Collecting protobuf<5,>=4.25.3 (from mediapipe)
> Downloading protobuf-4.25.8-cp310-abi3-win_amd64.whl.metadata (541 bytes)
> Collecting sounddevice>=0.4.4 (from mediapipe)
> Downloading sounddevice-0.5.2-py3-none-win_amd64.whl.metadata (1.6 kB)
> Requirement already satisfied: sentencepiece in c:\users\argenta\downloads\webui_forge_cu121_torch231\system\python\lib\site-packages (from mediapipe) (0.2.0)
> Collecting CFFI>=1.0 (from sounddevice>=0.4.4->mediapipe)
> Downloading cffi-1.17.1-cp310-cp310-win_amd64.whl.metadata (1.6 kB)
> Collecting ml_dtypes>=0.5.0 (from jax->mediapipe)
> Downloading ml_dtypes-0.5.1-cp310-cp310-win_amd64.whl.metadata (22 kB)
> Collecting opt_einsum (from jax->mediapipe)
> Downloading opt_einsum-3.4.0-py3-none-any.whl.metadata (6.3 kB)
> Requirement already satisfied: scipy>=1.11.1 in c:\users\argenta\downloads\webui_forge_cu121_torch231\system\python\lib\site-packages (from jax->mediapipe) (1.12.0)
> Requirement already satisfied: contourpy>=1.0.1 in c:\users\argenta\downloads\webui_forge_cu121_torch231\system\python\lib\site-packages (from matplotlib->mediapipe) (1.2.0)
> Requirement already satisfied: cycler>=0.10 in c:\users\argenta\downloads\webui_forge_cu121_torch231\system\python\lib\site-packages (from matplotlib->mediapipe) (0.12.1)
> Requirement already satisfied: fonttools>=4.22.0 in c:\users\argenta\downloads\webui_forge_cu121_torch231\system\python\lib\site-packages (from matplotlib->mediapipe) (4.47.2)
> Requirement already satisfied: kiwisolver>=1.3.1 in c:\users\argenta\downloads\webui_forge_cu121_torch231\system\python\lib\site-packages (from matplotlib->mediapipe) (1.4.5)
> Requirement already satisfied: packaging>=20.0 in c:\users\argenta\downloads\webui_forge_cu121_torch231\system\python\lib\site-packages (from matplotlib->mediapipe) (23.2)
> Requirement already satisfied: pillow>=8 in c:\users\argenta\downloads\webui_forge_cu121_torch231\system\python\lib\site-packages (from matplotlib->mediapipe) (9.5.0)
> Requirement already satisfied: pyparsing>=2.3.1 in c:\users\argenta\downloads\webui_forge_cu121_torch231\system\python\lib\site-packages (from matplotlib->mediapipe) (3.1.1)
> Requirement already satisfied: python-dateutil>=2.7 in c:\users\argenta\downloads\webui_forge_cu121_torch231\system\python\lib\site-packages (from matplotlib->mediapipe) (2.8.2)
> Collecting pycparser (from CFFI>=1.0->sounddevice>=0.4.4->mediapipe)
> Downloading pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
> Requirement already satisfied: six>=1.5 in c:\users\argenta\downloads\webui_forge_cu121_torch231\system\python\lib\site-packages (from python-dateutil>=2.7->matplotlib->mediapipe) (1.16.0)
> Downloading mediapipe-0.10.21-cp310-cp310-win_amd64.whl (51.0 MB)
> 1.1/51.0 MB 45.2 kB/s eta 0:18:23
>
> stderr: ERROR: Exception:
> Traceback (most recent call last):
> File "C:\Users\Argenta\Downloads\webui_forge_cu121_torch231\system\python\lib\site-packages\pip\_vendor\urllib3\response.py", line 438, in _error_catcher
> yield
> File "C:\Users\Argenta\Downloads\webui_forge_cu121_torch231\system\python\lib\site-packages\pip\_vendor\urllib3\response.py", line 561, in read
> data = self._fp_read(amt) if not fp_closed else b""
> File "C:\Users\Argenta\Downloads\webui_forge_cu121_torch231\system\python\lib\site-packages\pip\_vendor\urllib3\response.py", line 527, in _fp_read
> return self._fp.read(amt) if amt is not None else self._fp.read()
> File "C:\Users\Argenta\Downloads\webui_forge_cu121_torch231\system\python\lib\site-packages\pip\_vendor\cachecontrol\filewrapper.py", line 98, in read
> data: bytes = self.__fp.read(amt)
> File "http\client.py", line 465, in read
> File "socket.py", line 705, in readinto
> File "ssl.py", line 1274, in recv_into
> File "ssl.py", line 1130, in read
> TimeoutError: The read operation timed out
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
> File "C:\Users\Argenta\Downloads\webui_forge_cu121_torch231\system\python\lib\site-packages\pip\_internal\cli\base_command.py", line 180, in exc_logging_wrapper
> status = run_func(*args)
> File "C:\Users\Argenta\Downloads\webui_forge_cu121_torch231\system\python\lib\site-packages\pip\_internal\cli\req_command.py", line 245, in wrapper
> return func(self, options, args)
> File "C:\Users\Argenta\Downloads\webui_forge_cu121_torch231\system\python\lib\site-packages\pip\_internal\commands\install.py", line 377, in run
> requirement_set = resolver.resolve(
> File "C:\Users\Argenta\Downloads\webui_forge_cu121_torch231\system\python\lib\site-packages\pip\_internal\resolution\resolvelib\resolver.py", line 179, in resolve
> self.factory.preparer.prepare_linked_requirements_more(reqs)
> File "C:\Users\Argenta\Downloads\webui_forge_cu121_torch231\system\python\lib\site-packages\pip\_internal\operations\prepare.py", line 552, in prepare_linked_requirements_more
> self._complete_partial_requirements(
> File "C:\Users\Argenta\Downloads\webui_forge_cu121_torch231\system\python\lib\site-packages\pip\_internal\operations\prepare.py", line 467, in _complete_partial_requirements
> for link, (filepath, _) in batch_download:
> File "C:\Users\Argenta\Downloads\webui_forge_cu121_torch231\system\python\lib\site-packages\pip\_internal\network\download.py", line 183, in __call__
> for chunk in chunks:
> File "C:\Users\Argenta\Downloads\webui_forge_cu121_torch231\system\python\lib\site-packages\pip\_internal\cli\progress_bars.py", line 53, in _rich_progress_bar
> for chunk in iterable:
> File "C:\Users\Argenta\Downloads\webui_forge_cu121_torch231\system\python\lib\site-packages\pip\_internal\network\utils.py", line 63, in response_chunks
> for chunk in response.raw.stream(
> File "C:\Users\Argenta\Downloads\webui_forge_cu121_torch231\system\python\lib\site-packages\pip\_vendor\urllib3\response.py", line 622, in stream
> data = self.read(amt=amt, decode_content=decode_content)
> File "C:\Users\Argenta\Downloads\webui_forge_cu121_torch231\system\python\lib\site-packages\pip\_vendor\urllib3\response.py", line 560, in read
> with self._error_catcher():
> File "contextlib.py", line 153, in __exit__
> File "C:\Users\Argenta\Downloads\webui_forge_cu121_torch231\system\python\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.
>
> [notice] A new release of pip is available: 24.0 -> 25.1.1
> [notice] To update, run: python.exe -m pip install --upgrade pip
>
> Warning: Failed to install mediapipe, some preprocessors may not work.
> Installing forge_legacy_preprocessor requirement: svglib
> Installing forge_legacy_preprocessor requirement: depth_anything_v2
Now i have updated the pip to 25.1.1 but the problem is still the same, so now im stuck....
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with run.bat and the dependency-installation step that invokes the bundled Python to run pip install mediapipe. Reproduce the command and trace how its failure is handled; done means installation succeeds reliably or reports a clear, actionable diagnostic for the timeout.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100