Replies: 1 comment
-
I don't know if you can run automatic in a virtual machine. Maybe if you have access to those virtual machine that can access the hardware directly, the CPU and GPU. who knows why you don't install automatic in windows directly? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I followed the installation process according to this webpage: https://note.com/gladevise/n/ne2b2bac5969c#93f2a428-adbc-4235-a89f-da04f8c05402
After installing with pip install -r requirements_versions.txt and pip install -r requirements.txt, I encountered an error when trying to start with bash ./webui.sh:
################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye)
################################################################
################################################################
Running on one user
################################################################
################################################################
Repo already cloned, using it as install directory
################################################################
################################################################
python venv already activate: /home/one/stable-diffusion-webui/venv
################################################################
################################################################
Launching launch.py...
################################################################
Cannot locate TCMalloc (improves CPU memory usage)
Python 3.10.6 (main, Sep 1 2024, 00:45:23) [GCC 11.4.0]
Version: v1.2.1
Commit hash: 89f9faa
Installing requirements
Traceback (most recent call last):
File "/home/one/stable-diffusion-webui/launch.py", line 369, in
prepare_environment()
File "/home/one/stable-diffusion-webui/launch.py", line 313, in prepare_environment
run_pip(f"install -r "{requirements_file}"", "requirements")
File "/home/one/stable-diffusion-webui/launch.py", line 143, in run_pip
return run(f'"{python}" -m pip {command} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}", live=live)
File "/home/one/stable-diffusion-webui/launch.py", line 111, in run
raise RuntimeError(message)
RuntimeError: Couldn't install requirements.
Command: "/home/one/stable-diffusion-webui/venv/bin/python3" -m pip install -r "requirements_versions.txt" --prefer-binary
Error code: 2
stdout: Requirement already satisfied: blendmodes==2022 in ./venv/lib/python3.10/site-packages (from -r requirements_versions.txt (line 1)) (2022)
Requirement already satisfied: transformers==4.25.1 in ./venv/lib/python3.10/site-packages (from -r requirements_versions.txt (line 2)) (4.25.1)
Requirement already satisfied: accelerate==0.18.0 in ./venv/lib/python3.10/site-packages (from -r requirements_versions.txt (line 3)) (0.18.0)
Requirement already satisfied: basicsr==1.4.2 in ./venv/lib/python3.10/site-packages (from -r requirements_versions.txt (line 4)) (1.4.2)
Requirement already satisfied: gfpgan==1.3.8 in ./venv/lib/python3.10/site-packages (from -r requirements_versions.txt (line 5)) (1.3.8)
Requirement already satisfied: gradio==3.29.0 in ./venv/lib/python3.10/site-packages (from -r requirements_versions.txt (line 6)) (3.29.0)
Requirement already satisfied: numpy>=1.19.0 in ./venv/lib/python3.10/site-packages (from -r requirements_versions.txt (line 7)) (1.23.5)
Requirement already satisfied: Pillow==9.4.0 in ./venv/lib/python3.10/site-packages (from -r requirements_versions.txt (line 8)) (9.4.0)
Requirement already satisfied: realesrgan==0.3.0 in ./venv/lib/python3.10/site-packages (from -r requirements_versions.txt (line 9)) (0.3.0)
Requirement already satisfied: torch in ./venv/lib/python3.10/site-packages (from -r requirements_versions.txt (line 10)) (2.0.1)
Requirement already satisfied: omegaconf==2.2.3 in ./venv/lib/python3.10/site-packages (from -r requirements_versions.txt (line 11)) (2.2.3)
Requirement already satisfied: pytorch_lightning==1.9.4 in ./venv/lib/python3.10/site-packages (from -r requirements_versions.txt (line 12)) (1.9.4)
Requirement already satisfied: scikit-image==0.19.2 in ./venv/lib/python3.10/site-packages (from -r requirements_versions.txt (line 13)) (0.19.2)
Requirement already satisfied: fonts==0.0.3 in ./venv/lib/python3.10/site-packages (from -r requirements_versions.txt (line 14)) (0.0.3)
Requirement already satisfied: font-roboto==0.0.1 in ./venv/lib/python3.10/site-packages (from -r requirements_versions.txt (line 15)) (0.0.1)
Requirement already satisfied: timm==0.6.7 in ./venv/lib/python3.10/site-packages (from -r requirements_versions.txt (line 16)) (0.6.7)
Requirement already satisfied: piexif==1.1.3 in ./venv/lib/python3.10/site-packages (from -r requirements_versions.txt (line 17)) (1.1.3)
Requirement already satisfied: einops==0.4.1 in ./venv/lib/python3.10/site-packages (from -r requirements_versions.txt (line 18)) (0.4.1)
Requirement already satisfied: jsonmerge==1.8.0 in ./venv/lib/python3.10/site-packages (from -r requirements_versions.txt (line 19)) (1.8.0)
Requirement already satisfied: clean-fid==0.1.29 in ./venv/lib/python3.10/site-packages (from -r requirements_versions.txt (line 20)) (0.1.29)
Requirement already satisfied: resize-right==0.0.2 in ./venv/lib/python3.10/site-packages (from -r requirements_versions.txt (line 21)) (0.0.2)
Requirement already satisfied: torchdiffeq==0.2.3 in ./venv/lib/python3.10/site-packages (from -r requirements_versions.txt (line 22)) (0.2.3)
Requirement already satisfied: kornia==0.6.7 in ./venv/lib/python3.10/site-packages (from -r requirements_versions.txt (line 23)) (0.6.7)
Requirement already satisfied: lark==1.1.2 in ./venv/lib/python3.10/site-packages (from -r requirements_versions.txt (line 24)) (1.1.2)
Requirement already satisfied: inflection==0.5.1 in ./venv/lib/python3.10/site-packages (from -r requirements_versions.txt (line 25)) (0.5.1)
Requirement already satisfied: GitPython==3.1.30 in ./venv/lib/python3.10/site-packages (from -r requirements_versions.txt (line 26)) (3.1.30)
Requirement already satisfied: torchsde==0.2.5 in ./venv/lib/python3.10/site-packages (from -r requirements_versions.txt (line 27)) (0.2.5)
Requirement already satisfied: safetensors==0.3.1 in ./venv/lib/python3.10/site-packages (from -r requirements_versions.txt (line 28)) (0.3.1)
Requirement already satisfied: httpcore<=0.15 in ./venv/lib/python3.10/site-packages (from -r requirements_versions.txt (line 29)) (0.15.0)
Requirement already satisfied: fastapi==0.94.0 in ./venv/lib/python3.10/site-packages (from -r requirements_versions.txt (line 30)) (0.94.0)
Requirement already satisfied: aenum<4,>=3.1.7 in ./venv/lib/python3.10/site-packages (from blendmodes==2022->-r requirements_versions.txt (line 1)) (3.1.15)
Requirement already satisfied: deprecation<3,>=2.1.0 in ./venv/lib/python3.10/site-packages (from blendmodes==2022->-r requirements_versions.txt (line 1)) (2.1.0)
Requirement already satisfied: filelock in ./venv/lib/python3.10/site-packages (from transformers==4.25.1->-r requirements_versions.txt (line 2)) (3.15.4)
Requirement already satisfied: huggingface-hub<1.0,>=0.10.0 in ./venv/lib/python3.10/site-packages (from transformers==4.25.1->-r requirements_versions.txt (line 2)) (0.24.6)
Requirement already satisfied: packaging>=20.0 in ./venv/lib/python3.10/site-packages (from transformers==4.25.1->-r requirements_versions.txt (line 2)) (24.1)
Requirement already satisfied: pyyaml>=5.1 in ./venv/lib/python3.10/site-packages (from transformers==4.25.1->-r requirements_versions.txt (line 2)) (6.0.2)
Requirement already satisfied: regex!=2019.12.17 in ./venv/lib/python3.10/site-packages (from transformers==4.25.1->-r requirements_versions.txt (line 2)) (2024.7.24)
Requirement already satisfied: requests in ./venv/lib/python3.10/site-packages (from transformers==4.25.1->-r requirements_versions.txt (line 2)) (2.25.1)
Requirement already satisfied: tokenizers!=0.11.3,<0.14,>=0.11.1 in ./venv/lib/python3.10/site-packages (from transformers==4.25.1->-r requirements_versions.txt (line 2)) (0.13.3)
Requirement already satisfied: tqdm>=4.27 in ./venv/lib/python3.10/site-packages (from transformers==4.25.1->-r requirements_versions.txt (line 2)) (4.66.5)
Requirement already satisfied: psutil in ./venv/lib/python3.10/site-packages (from accelerate==0.18.0->-r requirements_versions.txt (line 3)) (6.0.0)
Requirement already satisfied: addict in ./venv/lib/python3.10/site-packages (from basicsr==1.4.2->-r requirements_versions.txt (line 4)) (2.4.0)
Requirement already satisfied: future in ./venv/lib/python3.10/site-packages (from basicsr==1.4.2->-r requirements_versions.txt (line 4)) (1.0.0)
Requirement already satisfied: lmdb in ./venv/lib/python3.10/site-packages (from basicsr==1.4.2->-r requirements_versions.txt (line 4)) (1.5.1)
Requirement already satisfied: opencv-python in ./venv/lib/python3.10/site-packages (from basicsr==1.4.2->-r requirements_versions.txt (line 4)) (4.10.0.84)
Requirement already satisfied: scipy in ./venv/lib/python3.10/site-packages (from basicsr==1.4.2->-r requirements_versions.txt (line 4)) (1.14.1)
Requirement already satisfied: tb-nightly in ./venv/lib/python3.10/site-packages (from basicsr==1.4.2->-r requirements_versions.txt (line 4)) (2.18.0a20240831)
Requirement already satisfied: torchvision in ./venv/lib/python3.10/site-packages (from basicsr==1.4.2->-r requirements_versions.txt (line 4)) (0.15.2)
Requirement already satisfied: yapf in ./venv/lib/python3.10/site-packages (from basicsr==1.4.2->-r requirements_versions.txt (line 4)) (0.40.2)
Requirement already satisfied: facexlib>=0.2.5 in ./venv/lib/python3.10/site-packages (from gfpgan==1.3.8->-r requirements_versions.txt (line 5)) (0.3.0)
Requirement already satisfied: aiofiles in ./venv/lib/python3.10/site-packages (from gradio==3.29.0->-r requirements_versions.txt (line 6)) (23.2.1)
Requirement already satisfied: aiohttp in ./venv/lib/python3.10/site-packages (from gradio==3.29.0->-r requirements_versions.txt (line 6)) (3.10.5)
Requirement already satisfied: altair>=4.2.0 in ./venv/lib/python3.10/site-packages (from gradio==3.29.0->-r requirements_versions.txt (line 6)) (5.4.1)
Requirement already satisfied: ffmpy in ./venv/lib/python3.10/site-packages (from gradio==3.29.0->-r requirements_versions.txt (line 6)) (0.4.0)
Requirement already satisfied: gradio-client>=0.2.1 in ./venv/lib/python3.10/site-packages (from gradio==3.29.0->-r requirements_versions.txt (line 6)) (1.3.0)
Requirement already satisfied: httpx in ./venv/lib/python3.10/site-packages (from gradio==3.29.0->-r requirements_versions.txt (line 6)) (0.25.1)
Requirement already satisfied: jinja2 in ./venv/lib/python3.10/site-packages (from gradio==3.29.0->-r requirements_versions.txt (line 6)) (3.1.4)
Requirement already satisfied: markdown-it-py>=2.0.0 in ./venv/lib/python3.10/site-packages (from markdown-it-py[linkify]>=2.0.0->gradio==3.29.0->-r requirements_versions.txt (line 6)) (2.2.0)
Requirement already satisfied: markupsafe in ./venv/lib/python3.10/site-packages (from gradio==3.29.0->-r requirements_versions.txt (line 6)) (2.1.5)
Requirement already satisfied: matplotlib in ./venv/lib/python3.10/site-packages (from gradio==3.29.0->-r requirements_versions.txt (line 6)) (3.9.2)
Requirement already satisfied: mdit-py-plugins<=0.3.3 in ./venv/lib/python3.10/site-packages (from gradio==3.29.0->-r requirements_versions.txt (line 6)) (0.3.3)
Requirement already satisfied: orjson in ./venv/lib/python3.10/site-packages (from gradio==3.29.0->-r requirements_versions.txt (line 6)) (3.10.7)
Requirement already satisfied: pandas in ./venv/lib/python3.10/site-packages (from gradio==3.29.0->-r requirements_versions.txt (line 6)) (2.2.2)
Requirement already satisfied: pydantic in ./venv/lib/python3.10/site-packages (from gradio==3.29.0->-r requirements_versions.txt (line 6)) (1.10.18)
Requirement already satisfied: pydub in ./venv/lib/python3.10/site-packages (from gradio==3.29.0->-r requirements_versions.txt (line 6)) (0.25.1)
Requirement already satisfied: pygments>=2.12.0 in ./venv/lib/python3.10/site-packages (from gradio==3.29.0->-r requirements_versions.txt (line 6)) (2.18.0)
Requirement already satisfied: python-multipart in ./venv/lib/python3.10/site-packages (from gradio==3.29.0->-r requirements_versions.txt (line 6)) (0.0.9)
Requirement already satisfied: semantic-version in ./venv/lib/python3.10/site-packages (from gradio==3.29.0->-r requirements_versions.txt (line 6)) (2.10.0)
Requirement already satisfied: typing-extensions in ./venv/lib/python3.10/site-packages (from gradio==3.29.0->-r requirements_versions.txt (line 6)) (4.12.2)
Requirement already satisfied: uvicorn>=0.14.0 in ./venv/lib/python3.10/site-packages (from gradio==3.29.0->-r requirements_versions.txt (line 6)) (0.30.6)
Requirement already satisfied: websockets>=10.0 in ./venv/lib/python3.10/site-packages (from gradio==3.29.0->-r requirements_versions.txt (line 6)) (12.0)
Requirement already satisfied: antlr4-python3-runtime==4.9.* in ./venv/lib/python3.10/site-packages (from omegaconf==2.2.3->-r requirements_versions.txt (line 11)) (4.9.3)
Requirement already satisfied: fsspec>2021.06.0 in ./venv/lib/python3.10/site-packages (from fsspec[http]>2021.06.0->pytorch_lightning==1.9.4->-r requirements_versions.txt (line 12)) (2024.6.1)
Requirement already satisfied: torchmetrics>=0.7.0 in ./venv/lib/python3.10/site-packages (from pytorch_lightning==1.9.4->-r requirements_versions.txt (line 12)) (1.4.1)
Requirement already satisfied: lightning-utilities>=0.6.0.post0 in ./venv/lib/python3.10/site-packages (from pytorch_lightning==1.9.4->-r requirements_versions.txt (line 12)) (0.11.6)
Requirement already satisfied: networkx>=2.2 in ./venv/lib/python3.10/site-packages (from scikit-image==0.19.2->-r requirements_versions.txt (line 13)) (3.3)
Requirement already satisfied: imageio>=2.4.1 in ./venv/lib/python3.10/site-packages (from scikit-image==0.19.2->-r requirements_versions.txt (line 13)) (2.35.1)
Requirement already satisfied: tifffile>=2019.7.26 in ./venv/lib/python3.10/site-packages (from scikit-image==0.19.2->-r requirements_versions.txt (line 13)) (2024.8.30)
Requirement already satisfied: PyWavelets>=1.1.1 in ./venv/lib/python3.10/site-packages (from scikit-image==0.19.2->-r requirements_versions.txt (line 13)) (1.7.0)
Requirement already satisfied: jsonschema in ./venv/lib/python3.10/site-packages (from jsonmerge==1.8.0->-r requirements_versions.txt (line 19)) (4.23.0)
Requirement already satisfied: gitdb<5,>=4.0.1 in ./venv/lib/python3.10/site-packages (from GitPython==3.1.30->-r requirements_versions.txt (line 26)) (4.0.11)
stderr: ERROR: Exception:
Traceback (most recent call last):
File "/home/one/stable-diffusion-webui/venv/lib/python3.10/site-packages/pip/_vendor/pkg_resources/init.py", line 3368, in _dep_map
return self.__dep_map
File "/home/one/stable-diffusion-webui/venv/lib/python3.10/site-packages/pip/_vendor/pkg_resources/init.py", line 3148, in getattr
raise AttributeError(attr)
AttributeError: _DistInfoDistribution__dep_map
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/one/stable-diffusion-webui/venv/lib/python3.10/site-packages/pip/_vendor/packaging/requirements.py", line 36, in init
parsed = _parse_requirement(requirement_string)
File "/home/one/stable-diffusion-webui/venv/lib/python3.10/site-packages/pip/_vendor/packaging/_parser.py", line 62, in parse_requirement
return _parse_requirement(Tokenizer(source, rules=DEFAULT_RULES))
File "/home/one/stable-diffusion-webui/venv/lib/python3.10/site-packages/pip/_vendor/packaging/_parser.py", line 80, in _parse_requirement
url, specifier, marker = _parse_requirement_details(tokenizer)
File "/home/one/stable-diffusion-webui/venv/lib/python3.10/site-packages/pip/_vendor/packaging/_parser.py", line 118, in _parse_requirement_details
specifier = _parse_specifier(tokenizer)
File "/home/one/stable-diffusion-webui/venv/lib/python3.10/site-packages/pip/_vendor/packaging/_parser.py", line 214, in _parse_specifier
parsed_specifiers = _parse_version_many(tokenizer)
File "/home/one/stable-diffusion-webui/venv/lib/python3.10/site-packages/pip/_vendor/packaging/_parser.py", line 229, in _parse_version_many
tokenizer.raise_syntax_error(
File "/home/one/stable-diffusion-webui/venv/lib/python3.10/site-packages/pip/_vendor/packaging/_tokenizer.py", line 167, in raise_syntax_error
raise ParserSyntaxError(
pip._vendor.packaging._tokenizer.ParserSyntaxError: .* suffix can only be used with == or != operators
numpy (>=1.19.*) ; python_version >= "3.7"
~~~~~~~^
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/one/stable-diffusion-webui/venv/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper
status = _inner_run()
File "/home/one/stable-diffusion-webui/venv/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run
return self.run(options, args)
File "/home/one/stable-diffusion-webui/venv/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 67, in wrapper
return func(self, options, args)
File "/home/one/stable-diffusion-webui/venv/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 379, in run
requirement_set = resolver.resolve(
File "/home/one/stable-diffusion-webui/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 95, in resolve
result = self._result = resolver.resolve(
File "/home/one/stable-diffusion-webui/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "/home/one/stable-diffusion-webui/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 427, in resolve
failure_causes = self._attempt_to_pin_criterion(name)
File "/home/one/stable-diffusion-webui/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 239, in _attempt_to_pin_criterion
criteria = self._get_updated_criteria(candidate)
File "/home/one/stable-diffusion-webui/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 229, in _get_updated_criteria
for requirement in self._p.get_dependencies(candidate=candidate):
File "/home/one/stable-diffusion-webui/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/provider.py", line 247, in get_dependencies
return [r for r in candidate.iter_dependencies(with_requires) if r is not None]
File "/home/one/stable-diffusion-webui/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/provider.py", line 247, in
return [r for r in candidate.iter_dependencies(with_requires) if r is not None]
File "/home/one/stable-diffusion-webui/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 401, in iter_dependencies
for r in self.dist.iter_dependencies():
File "/home/one/stable-diffusion-webui/venv/lib/python3.10/site-packages/pip/_internal/metadata/pkg_resources.py", line 247, in iter_dependencies
return self._dist.requires(extras)
File "/home/one/stable-diffusion-webui/venv/lib/python3.10/site-packages/pip/_vendor/pkg_resources/init.py", line 3071, in requires
dm = self._dep_map
File "/home/one/stable-diffusion-webui/venv/lib/python3.10/site-packages/pip/_vendor/pkg_resources/init.py", line 3370, in _dep_map
self.__dep_map = self._compute_dependencies()
File "/home/one/stable-diffusion-webui/venv/lib/python3.10/site-packages/pip/_vendor/pkg_resources/init.py", line 3380, in _compute_dependencies
reqs.extend(parse_requirements(req))
File "/home/one/stable-diffusion-webui/venv/lib/python3.10/site-packages/pip/_vendor/pkg_resources/init.py", line 3435, in init
super().init(requirement_string)
File "/home/one/stable-diffusion-webui/venv/lib/python3.10/site-packages/pip/_vendor/packaging/requirements.py", line 38, in init
raise InvalidRequirement(str(e)) from e
pip._vendor.packaging.requirements.InvalidRequirement: .* suffix can only be used with == or != operators
numpy (>=1.19.*) ; python_version >= "3.7"
~~~~~~~^
Beta Was this translation helpful? Give feedback.
All reactions