dream-textures icon indicating copy to clipboard operation
dream-textures copied to clipboard

Failure to fetch dependencies while trying to fully install addon from source on Manjaro XFCE

Open kilon opened this issue 1 year ago • 0 comments

Description

I am on Manjaro XFCE and following the instruction for contribution because I can only install from source being a Linux user I get an error when I try to fetch the dependencies when I click on the relevant in addon preference after enabling the addon , it does manage to download the dependencies but it seems it fails to include one and also does not manage to find the correct folder where pip is installed or something like that

Successfully built diffusers
Installing collected packages: tokenizers, tensorboard-plugin-wit, pyasn1, opencolorio, zipp, wheel, urllib3, typing-extensions, tqdm, tensorboard-data-server, six, setuptools, rsa, regex, pyyaml, python-dotenv, pyasn1-modules, psutil, protobuf, Pillow, packaging, oauthlib, numpy, multidict, MarkupSafe, markdown, idna, fsspec, frozenlist, filelock, charset-normalizer, certifi, cachetools, attrs, async-timeout, absl-py, yarl, werkzeug, torch, tensorboardX, scipy, requests, lightning-utilities, importlib-metadata, grpcio, google-auth, aiosignal, torchmetrics, requests-oauthlib, huggingface_hub, grpcio-tools, aiohttp, accelerate, transformers, stability-sdk, google-auth-oauthlib, diffusers, tensorboard, pytorch-lightning
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
pysolfc 2.18.0 requires pycotap, which is not installed.
Successfully installed MarkupSafe-2.1.1 Pillow-9.4.0 absl-py-1.4.0 accelerate-0.15.0 aiohttp-3.8.3 aiosignal-1.3.1 async-timeout-4.0.2 attrs-22.2.0 cachetools-5.2.1 certifi-2022.12.7 charset-normalizer-2.1.1 diffusers-0.12.0.dev0 filelock-3.9.0 frozenlist-1.3.3 fsspec-2022.11.0 google-auth-2.16.0 google-auth-oauthlib-0.4.6 grpcio-1.48.1 grpcio-tools-1.48.1 huggingface_hub-0.11.1 idna-3.4 importlib-metadata-6.0.0 lightning-utilities-0.5.0 markdown-3.4.1 multidict-6.0.4 numpy-1.24.1 oauthlib-3.2.2 opencolorio-2.1.2 packaging-23.0 protobuf-3.19.5 psutil-5.9.4 pyasn1-0.4.8 pyasn1-modules-0.2.8 python-dotenv-0.21.0 pytorch-lightning-1.8.6 pyyaml-6.0 regex-2022.10.31 requests-2.28.2 requests-oauthlib-1.3.1 rsa-4.9 scipy-1.10.0 setuptools-65.7.0 six-1.16.0 stability-sdk-0.3.1 tensorboard-2.11.1 tensorboard-data-server-0.6.1 tensorboard-plugin-wit-1.8.1 tensorboardX-2.5.1 tokenizers-0.13.2 torch-1.13.1+cu117 torchmetrics-0.11.0 tqdm-4.64.1 transformers-4.25.1 typing-extensions-4.4.0 urllib3-1.26.14 werkzeug-2.2.2 wheel-0.38.4 yarl-1.8.2 zipp-3.11.0
--- Logging error ---
Traceback (most recent call last):
  File "/home/kilon/.config/blender/3.4/scripts/addons/dream-textures/.python_dependencies/pip/_internal/utils/logging.py", line 177, in emit
    self.console.print(renderable, overflow="ignore", crop=False, style=style)
  File "/home/kilon/.config/blender/3.4/scripts/addons/dream-textures/.python_dependencies/pip/_vendor/rich/console.py", line 1673, in print
    extend(render(renderable, render_options))
  File "/home/kilon/.config/blender/3.4/scripts/addons/dream-textures/.python_dependencies/pip/_vendor/rich/console.py", line 1305, in render
    for render_output in iter_render:
  File "/home/kilon/.config/blender/3.4/scripts/addons/dream-textures/.python_dependencies/pip/_internal/utils/logging.py", line 134, in __rich_console__
    for line in lines:
  File "/home/kilon/.config/blender/3.4/scripts/addons/dream-textures/.python_dependencies/pip/_vendor/rich/segment.py", line 249, in split_lines
    for segment in segments:
  File "/home/kilon/.config/blender/3.4/scripts/addons/dream-textures/.python_dependencies/pip/_vendor/rich/console.py", line 1283, in render
    renderable = rich_cast(renderable)
  File "/home/kilon/.config/blender/3.4/scripts/addons/dream-textures/.python_dependencies/pip/_vendor/rich/protocol.py", line 36, in rich_cast
    renderable = cast_method()
  File "/home/kilon/.config/blender/3.4/scripts/addons/dream-textures/.python_dependencies/pip/_internal/self_outdated_check.py", line 130, in __rich__
    pip_cmd = get_best_invocation_for_this_pip()
  File "/home/kilon/.config/blender/3.4/scripts/addons/dream-textures/.python_dependencies/pip/_internal/utils/entrypoints.py", line 58, in get_best_invocation_for_this_pip
    if found_executable and os.path.samefile(
  File "/usr/lib/python3.10/genericpath.py", line 101, in samefile
    s2 = os.stat(f2)
FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/pip'
Call stack:
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/kilon/.config/blender/3.4/scripts/addons/dream-textures/.python_dependencies/pip/__main__.py", line 31, in <module>
    sys.exit(_main())
  File "/home/kilon/.config/blender/3.4/scripts/addons/dream-textures/.python_dependencies/pip/_internal/cli/main.py", line 70, in main
    return command.main(cmd_args)
  File "/home/kilon/.config/blender/3.4/scripts/addons/dream-textures/.python_dependencies/pip/_internal/cli/base_command.py", line 101, in main
    return self._main(args)
  File "/home/kilon/.config/blender/3.4/scripts/addons/dream-textures/.python_dependencies/pip/_internal/cli/base_command.py", line 223, in _main
    self.handle_pip_version_check(options)
  File "/home/kilon/.config/blender/3.4/scripts/addons/dream-textures/.python_dependencies/pip/_internal/cli/req_command.py", line 190, in handle_pip_version_check
    pip_self_version_check(session, options)
  File "/home/kilon/.config/blender/3.4/scripts/addons/dream-textures/.python_dependencies/pip/_internal/self_outdated_check.py", line 236, in pip_self_version_check
    logger.warning("[present-rich] %s", upgrade_prompt)
  File "/usr/lib/python3.10/logging/__init__.py", line 1489, in warning
    self._log(WARNING, msg, args, **kwargs)
  File "/usr/lib/python3.10/logging/__init__.py", line 1624, in _log
    self.handle(record)
  File "/usr/lib/python3.10/logging/__init__.py", line 1634, in handle
    self.callHandlers(record)
  File "/usr/lib/python3.10/logging/__init__.py", line 1696, in callHandlers
    hdlr.handle(record)
  File "/usr/lib/python3.10/logging/__init__.py", line 968, in handle
    self.emit(record)
  File "/home/kilon/.config/blender/3.4/scripts/addons/dream-textures/.python_dependencies/pip/_internal/utils/logging.py", line 179, in emit
    self.handleError(record)
Message: '[present-rich] %s'
Arguments: (UpgradePrompt(old='22.2.2', new='22.3.1'),)

Steps to Reproduce

  1. Install addon via git pull and following the contribution instructions
  2. Enable addon
  3. click install dependencies

Expected Behavior

Should install correctly

Addon Version

Other (Built from source)

GPU

NVIDIA

kilon avatar Jan 13 '23 17:01 kilon