Issues with (AlUlkesh) stable-diffusion-webui-images-browser extension and v1.0.0-pre #11807
WizardofAZ9
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've been using this custom extension (https://github.com/AlUlkesh/stable-diffusion-webui-images-browser) for AUTOMATIC1111 along with the v1.0.0-pre release for Windows 10 and NVIDIA only and while it works, whenever I click on run.bat to launch, I am greeted with this error
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.4.1
Commit hash: f865d3e
Installing requirements
*** Error running install.py for extension H:\Downloads\sd.webui\webui\extensions\stable-diffusion-webui-images-browser.
*** Command: "H:\Downloads\sd.webui\system\python\python.exe" "H:\Downloads\sd.webui\webui\extensions\stable-diffusion-webui-images-browser\install.py"
*** Error code: 1
*** stdout: Installing ImageReward requirement for image browser
*** stderr: Traceback (most recent call last):
*** File "H:\Downloads\sd.webui\webui\extensions\stable-diffusion-webui-images-browser\install.py", line 8, in
*** import ImageReward
*** ModuleNotFoundError: No module named 'ImageReward'
*** During handling of the above exception, another exception occurred:
*** Traceback (most recent call last):
*** File "H:\Downloads\sd.webui\webui\extensions\stable-diffusion-webui-images-browser\install.py", line 17, in
*** launch.run_pip(f'install -r "{req_IR}" --no-deps image-reward', 'ImageReward requirement for image browser')
*** File "H:\Downloads\sd.webui\webui\modules\launch_utils.py", line 130, 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 "H:\Downloads\sd.webui\webui\modules\launch_utils.py", line 107, in run
*** raise RuntimeError("\n".join(error_bits))
*** RuntimeError: Couldn't install ImageReward requirement for image browser.
*** Command: "H:\Downloads\sd.webui\system\python\python.exe" -m pip install -r "H:\Downloads\sd.webui\webui\extensions\stable-diffusion-webui-images-browser\req_IR.txt" --no-deps image-reward --prefer-binary
*** Error code: 2
*** stdout: Collecting image-reward
*** Using cached image_reward-1.5-py3-none-any.whl (42 kB)
*** Collecting datasets (from -r H:\Downloads\sd.webui\webui\extensions\stable-diffusion-webui-images-browser\req_IR.txt (line 1))
*** Using cached datasets-2.13.1-py3-none-any.whl (486 kB)
*** Collecting diffusers (from -r H:\Downloads\sd.webui\webui\extensions\stable-diffusion-webui-images-browser\req_IR.txt (line 2))
*** Using cached diffusers-0.18.2-py3-none-any.whl (1.2 MB)
*** Collecting dill (from -r H:\Downloads\sd.webui\webui\extensions\stable-diffusion-webui-images-browser\req_IR.txt (line 3))
*** Using cached dill-0.3.6-py3-none-any.whl (110 kB)
*** Collecting fairscale (from -r H:\Downloads\sd.webui\webui\extensions\stable-diffusion-webui-images-browser\req_IR.txt (line 4))
*** Using cached fairscale-0.4.13.tar.gz (266 kB)
*** Installing build dependencies: started
*** Installing build dependencies: finished with status 'done'
*** Getting requirements to build wheel: started
*** Getting requirements to build wheel: finished with status 'done'
*** stderr: ERROR: Exception:
*** Traceback (most recent call last):
*** File "H:\Downloads\sd.webui\system\python\lib\site-packages\pip_internal\cli\base_command.py", line 169, in exc_logging_wrapper
*** status = run_func(*args)
*** File "H:\Downloads\sd.webui\system\python\lib\site-packages\pip_internal\cli\req_command.py", line 248, in wrapper
*** return func(self, options, args)
*** File "H:\Downloads\sd.webui\system\python\lib\site-packages\pip_internal\commands\install.py", line 377, in run
*** requirement_set = resolver.resolve(
*** File "H:\Downloads\sd.webui\system\python\lib\site-packages\pip_internal\resolution\resolvelib\resolver.py", line 92, in resolve
*** result = self._result = resolver.resolve(
*** File "H:\Downloads\sd.webui\system\python\lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 546, in resolve
*** state = resolution.resolve(requirements, max_rounds=max_rounds)
*** File "H:\Downloads\sd.webui\system\python\lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 397, in resolve
*** self._add_to_criteria(self.state.criteria, r, parent=None)
*** File "H:\Downloads\sd.webui\system\python\lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 173, in _add_to_criteria
*** if not criterion.candidates:
*** File "H:\Downloads\sd.webui\system\python\lib\site-packages\pip_vendor\resolvelib\structs.py", line 156, in bool
*** return bool(self._sequence)
*** File "H:\Downloads\sd.webui\system\python\lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 155, in bool
*** return any(self)
*** File "H:\Downloads\sd.webui\system\python\lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 143, in
*** return (c for c in iterator if id(c) not in self._incompatible_ids)
*** File "H:\Downloads\sd.webui\system\python\lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 47, in _iter_built
*** candidate = func()
*** File "H:\Downloads\sd.webui\system\python\lib\site-packages\pip_internal\resolution\resolvelib\factory.py", line 206, in _make_candidate_from_link
*** self._link_candidate_cache[link] = LinkCandidate(
*** File "H:\Downloads\sd.webui\system\python\lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 293, in init
*** super().init(
*** File "H:\Downloads\sd.webui\system\python\lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 156, in init
*** self.dist = self._prepare()
*** File "H:\Downloads\sd.webui\system\python\lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 225, in _prepare
*** dist = self._prepare_distribution()
*** File "H:\Downloads\sd.webui\system\python\lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 304, in _prepare_distribution
*** return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
*** File "H:\Downloads\sd.webui\system\python\lib\site-packages\pip_internal\operations\prepare.py", line 516, in prepare_linked_requirement
*** return self._prepare_linked_requirement(req, parallel_builds)
*** File "H:\Downloads\sd.webui\system\python\lib\site-packages\pip_internal\operations\prepare.py", line 631, in _prepare_linked_requirement
*** dist = _get_prepared_distribution(
*** File "H:\Downloads\sd.webui\system\python\lib\site-packages\pip_internal\operations\prepare.py", line 69, in _get_prepared_distribution
*** abstract_dist.prepare_distribution_metadata(
*** File "H:\Downloads\sd.webui\system\python\lib\site-packages\pip_internal\distributions\sdist.py", line 48, in prepare_distribution_metadata
*** self._install_build_reqs(finder)
*** File "H:\Downloads\sd.webui\system\python\lib\site-packages\pip_internal\distributions\sdist.py", line 118, in _install_build_reqs
*** build_reqs = self._get_build_requires_wheel()
*** File "H:\Downloads\sd.webui\system\python\lib\site-packages\pip_internal\distributions\sdist.py", line 95, in _get_build_requires_wheel
*** return backend.get_requires_for_build_wheel()
*** File "H:\Downloads\sd.webui\system\python\lib\site-packages\pip_internal\utils\misc.py", line 692, in get_requires_for_build_wheel
*** return super().get_requires_for_build_wheel(config_settings=cs)
*** File "H:\Downloads\sd.webui\system\python\lib\site-packages\pip_vendor\pyproject_hooks_impl.py", line 166, in get_requires_for_build_wheel
*** return self._call_hook('get_requires_for_build_wheel', {
*** File "H:\Downloads\sd.webui\system\python\lib\site-packages\pip_vendor\pyproject_hooks_impl.py", line 321, in _call_hook
*** raise BackendUnavailable(data.get('traceback', ''))
*** pip._vendor.pyproject_hooks._impl.BackendUnavailable: Traceback (most recent call last):
*** File "H:\Downloads\sd.webui\system\python\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 77, in build_backend
*** obj = import_module(mod_path)
*** File "importlib_init.py", line 126, in import_module
*** File "frozen importlib._bootstrap", line 1050, in _gcd_import
*** File "frozen importlib._bootstrap", line 1027, in _find_and_load
*** File "frozen importlib._bootstrap", line 992, in _find_and_load_unlocked
*** File "frozen importlib._bootstrap", line 241, in _call_with_frames_removed
*** File "frozen importlib._bootstrap", line 1050, in _gcd_import
*** File "frozen importlib._bootstrap", line 1027, in _find_and_load
*** File "frozen importlib._bootstrap", line 1006, in _find_and_load_unlocked
*** File "frozen importlib._bootstrap", line 688, in _load_unlocked
*** File "frozen importlib._bootstrap_external", line 883, in exec_module
*** File "frozen importlib._bootstrap", line 241, in _call_with_frames_removed
*** File "C:\Users\hawke\AppData\Local\Temp\pip-build-env-yqzsoikn\overlay\Lib\site-packages\setuptools_init.py", line 15, in
*** import setuptools.version
*** File "C:\Users\hawke\AppData\Local\Temp\pip-build-env-yqzsoikn\overlay\Lib\site-packages\setuptools\version.py", line 1, in
*** from .importlib import metadata
*** File "C:\Users\hawke\AppData\Local\Temp\pip-build-env-yqzsoikn\overlay\Lib\site-packages\setuptools_importlib.py", line 44, in
*** import importlib.metadata as metadata # noqa: F401
*** File "importlib\metadata_init.py", line 17, in
*** File "importlib\metadata_adapters.py", line 3, in
*** File "email\message.py", line 15, in
*** File "email\utils.py", line 29, in
*** File "socket.py", line 51, in
*** ModuleNotFoundError: No module named '_socket'
Afterwards it goes on to continue loading, but displays aadditional errors about Image Browser and ImageReward.
Image Browser: ImageReward is not installed, cannot be used.
No module named 'ImageReward'
Despite these errors, the Image Browser extension seems to work at least it is able to display images and send the associated data such as prompts and other settings back to txt2img. I haven't tried all of the features yet though.
Has anyone else tried this extension along with the v1.0.0-pre release for Windows 10 and NVIDIA only and encountered the same issue and/or managed to resolve it? Anyone know what might be causing it? We've already discussed this on their git extensively but have yet to work out what's causing this issue: AlUlkesh/stable-diffusion-webui-images-browser#214
Beta Was this translation helpful? Give feedback.
All reactions