Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
8.0 kB
2
Indexable
Never
C:\Users\DJ\Downloads\Fooocus-2.3.0>python launch.py
[System ARGV] ['launch.py']
Python 3.12.2 (tags/v3.12.2:6abddd9, Feb  6 2024, 21:26:36) [MSC v.1937 64 bit (AMD64)]
Fooocus version: 2.3.0
Version mismatch for einops: Installed version 0.7.0 does not meet requirement einops==0.4.1
Installing requirements
Couldn't install requirements.
Command: "C:\Users\DJ\AppData\Local\Programs\Python\Python312\python.exe" -m pip install -r "requirements_versions.txt" --prefer-binary
Error code: 1
stdout: Requirement already satisfied: torchsde==0.2.5 in c:\users\dj\appdata\local\programs\python\python312\lib\site-packages (from -r requirements_versions.txt (line 1)) (0.2.5)
Collecting einops==0.4.1 (from -r requirements_versions.txt (line 2))
  Using cached einops-0.4.1-py3-none-any.whl.metadata (10 kB)
Collecting transformers==4.30.2 (from -r requirements_versions.txt (line 3))
  Using cached transformers-4.30.2-py3-none-any.whl.metadata (113 kB)
Collecting safetensors==0.3.1 (from -r requirements_versions.txt (line 4))
  Using cached safetensors-0.3.1.tar.gz (34 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'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting accelerate==0.21.0 (from -r requirements_versions.txt (line 5))
  Using cached accelerate-0.21.0-py3-none-any.whl.metadata (17 kB)
Collecting pyyaml==6.0 (from -r requirements_versions.txt (line 6))
  Using cached PyYAML-6.0.tar.gz (124 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 'error'

stderr:   error: subprocess-exited-with-error

  Getting requirements to build wheel did not run successfully.
  exit code: 1

  [54 lines of output]
  running egg_info
  writing lib\PyYAML.egg-info\PKG-INFO
  writing dependency_links to lib\PyYAML.egg-info\dependency_links.txt
  writing top-level names to lib\PyYAML.egg-info\top_level.txt
  Traceback (most recent call last):
    File "C:\Users\DJ\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
      main()
    File "C:\Users\DJ\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\DJ\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
      return hook(config_settings)
             ^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\DJ\AppData\Local\Temp\pip-build-env-x5oo19u6\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
      return self._get_build_requires(config_settings, requirements=['wheel'])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\DJ\AppData\Local\Temp\pip-build-env-x5oo19u6\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
      self.run_setup()
    File "C:\Users\DJ\AppData\Local\Temp\pip-build-env-x5oo19u6\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
      exec(code, locals())
    File "<string>", line 288, in <module>
    File "C:\Users\DJ\AppData\Local\Temp\pip-build-env-x5oo19u6\overlay\Lib\site-packages\setuptools\__init__.py", line 104, in setup
      return distutils.core.setup(**attrs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\DJ\AppData\Local\Temp\pip-build-env-x5oo19u6\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
      return run_commands(dist)
             ^^^^^^^^^^^^^^^^^^
    File "C:\Users\DJ\AppData\Local\Temp\pip-build-env-x5oo19u6\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
      dist.run_commands()
    File "C:\Users\DJ\AppData\Local\Temp\pip-build-env-x5oo19u6\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 969, in run_commands
      self.run_command(cmd)
    File "C:\Users\DJ\AppData\Local\Temp\pip-build-env-x5oo19u6\overlay\Lib\site-packages\setuptools\dist.py", line 967, in run_command
      super().run_command(command)
    File "C:\Users\DJ\AppData\Local\Temp\pip-build-env-x5oo19u6\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
      cmd_obj.run()
    File "C:\Users\DJ\AppData\Local\Temp\pip-build-env-x5oo19u6\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 321, in run
      self.find_sources()
    File "C:\Users\DJ\AppData\Local\Temp\pip-build-env-x5oo19u6\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 329, in find_sources
      mm.run()
    File "C:\Users\DJ\AppData\Local\Temp\pip-build-env-x5oo19u6\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 550, in run
      self.add_defaults()
    File "C:\Users\DJ\AppData\Local\Temp\pip-build-env-x5oo19u6\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 588, in add_defaults
      sdist.add_defaults(self)
    File "C:\Users\DJ\AppData\Local\Temp\pip-build-env-x5oo19u6\overlay\Lib\site-packages\setuptools\command\sdist.py", line 102, in add_defaults
      super().add_defaults()
    File "C:\Users\DJ\AppData\Local\Temp\pip-build-env-x5oo19u6\overlay\Lib\site-packages\setuptools\_distutils\command\sdist.py", line 251, in add_defaults
      self._add_defaults_ext()
    File "C:\Users\DJ\AppData\Local\Temp\pip-build-env-x5oo19u6\overlay\Lib\site-packages\setuptools\_distutils\command\sdist.py", line 336, in _add_defaults_ext
      self.filelist.extend(build_ext.get_source_files())
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "<string>", line 204, in get_source_files
    File "C:\Users\DJ\AppData\Local\Temp\pip-build-env-x5oo19u6\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 107, in __getattr__
      raise AttributeError(attr)
  AttributeError: cython_sources
  [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

Getting requirements to build wheel did not run successfully.
exit code: 1

See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

CMD Failed requirements: install -r "requirements_versions.txt"
[Cleanup] Attempting to delete content of temp dir C:\Users\DJ\AppData\Local\Temp\fooocus
[Cleanup] Cleanup successful
Total VRAM 8192 MB, total RAM 32695 MB
Set vram state to: NORMAL_VRAM
Always offload VRAM
Device: cuda:0 NVIDIA GeForce RTX 2080 SUPER : native
VAE dtype: torch.float32
Using pytorch cross attention
C:\Users\DJ\Downloads\Fooocus-2.3.0\ldm_patched\unipc\uni_pc.py:19: SyntaxWarning: invalid escape sequence '\h'
  """Create a wrapper class for the forward SDE (VP type).
Traceback (most recent call last):
  File "C:\Users\DJ\Downloads\Fooocus-2.3.0\launch.py", line 136, in <module>
    from webui import *
  File "C:\Users\DJ\Downloads\Fooocus-2.3.0\webui.py", line 13, in <module>
    import modules.gradio_hijack as grh
  File "C:\Users\DJ\Downloads\Fooocus-2.3.0\modules\gradio_hijack.py", line 21, in <module>
    from gradio.components.base import IOComponent, _Keywords, Block
ImportError: cannot import name 'IOComponent' from 'gradio.components.base' (C:\Users\DJ\AppData\Local\Programs\Python\Python312\Lib\site-packages\gradio\components\base.py). Did you mean: 'Component'?

C:\Users\DJ\Downloads\Fooocus-2.3.0>
Leave a Comment