Closed Sierbahnn closed 3 months ago
Upon trying the latest version the log now looks like this
D:\Program Files (x86)\Foocus>.\python_embeded\python.exe -s Fooocus\entry_with_update.py Fast-forward merge Update succeeded. [System ARGV] ['Fooocus\entry_with_update.py'] Python 3.10.9 (tags/v3.10.9:1dd9be6, Dec 6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)] Fooocus version: 2.5.2 Version mismatch for torchsde: Installed version 0.2.5 does not meet requirement torchsde==0.2.6 Installing requirements Couldn't install requirements. Command: "D:\Program Files (x86)\Foocus\python_embeded\python.exe" -m pip install -r "requirements_versions.txt" --prefer-binary Error code: 1 stdout: Collecting torchsde==0.2.6 (from -r requirements_versions.txt (line 1)) Downloading torchsde-0.2.6-py3-none-any.whl.metadata (5.3 kB) Requirement already satisfied: einops==0.8.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from -r requirements_versions.txt (line 2)) (0.8.0) Collecting transformers==4.42.4 (from -r requirements_versions.txt (line 3)) Downloading transformers-4.42.4-py3-none-any.whl.metadata (43 kB) ---------------------------------------- 43.6/43.6 kB ? eta 0:00:00 Requirement already satisfied: safetensors==0.4.3 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from -r requirements_versions.txt (line 4)) (0.4.3) Collecting accelerate==0.32.1 (from -r requirements_versions.txt (line 5)) Downloading accelerate-0.32.1-py3-none-any.whl.metadata (18 kB) Requirement already satisfied: pyyaml==6.0.1 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from -r requirements_versions.txt (line 6)) (6.0.1) Requirement already satisfied: pillow==10.4.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from -r requirements_versions.txt (line 7)) (10.4.0) Requirement already satisfied: scipy==1.14.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from -r requirements_versions.txt (line 8)) (1.14.0) Requirement already satisfied: tqdm==4.66.4 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from -r requirements_versions.txt (line 9)) (4.66.4) Requirement already satisfied: psutil==6.0.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from -r requirements_versions.txt (line 10)) (6.0.0) Collecting pytorch_lightning==2.3.3 (from -r requirements_versions.txt (line 11)) Downloading pytorch_lightning-2.3.3-py3-none-any.whl.metadata (21 kB) Requirement already satisfied: omegaconf==2.3.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from -r requirements_versions.txt (line 12)) (2.3.0) Requirement already satisfied: gradio==3.41.2 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from -r requirements_versions.txt (line 13)) (3.41.2) Collecting pygit2==1.15.1 (from -r requirements_versions.txt (line 14)) Downloading pygit2-1.15.1-cp310-cp310-win_amd64.whl.metadata (3.4 kB) Requirement already satisfied: opencv-contrib-python-headless==4.10.0.84 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from -r requirements_versions.txt (line 15)) (4.10.0.84) Collecting httpx==0.27.0 (from -r requirements_versions.txt (line 16)) Downloading httpx-0.27.0-py3-none-any.whl.metadata (7.2 kB) Collecting onnxruntime==1.18.1 (from -r requirements_versions.txt (line 17)) Downloading onnxruntime-1.18.1-cp310-cp310-win_amd64.whl.metadata (4.5 kB) Collecting timm==1.0.7 (from -r requirements_versions.txt (line 18)) Downloading timm-1.0.7-py3-none-any.whl.metadata (47 kB) ---------------------------------------- 47.5/47.5 kB 2.3 MB/s eta 0:00:00 Requirement already satisfied: numpy==1.26.4 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from -r requirements_versions.txt (line 19)) (1.26.4) Collecting tokenizers==0.19.1 (from -r requirements_versions.txt (line 20)) Downloading tokenizers-0.19.1-cp310-none-win_amd64.whl.metadata (6.9 kB) Requirement already satisfied: packaging==24.1 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from -r requirements_versions.txt (line 21)) (24.1) Requirement already satisfied: rembg==2.0.57 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from -r requirements_versions.txt (line 22)) (2.0.57) Requirement already satisfied: groundingdino-py==0.4.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from -r requirements_versions.txt (line 23)) (0.4.0) Requirement already satisfied: segment_anything==1.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from -r requirements_versions.txt (line 24)) (1.0) Requirement already satisfied: torch>=1.6.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from torchsde==0.2.6->-r requirements_versions.txt (line 1)) (2.1.0+cu121) Requirement already satisfied: trampoline>=0.1.2 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from torchsde==0.2.6->-r requirements_versions.txt (line 1)) (0.1.2) Requirement already satisfied: filelock in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from transformers==4.42.4->-r requirements_versions.txt (line 3)) (3.12.2) Collecting huggingface-hub<1.0,>=0.23.2 (from transformers==4.42.4->-r requirements_versions.txt (line 3)) Downloading huggingface_hub-0.24.5-py3-none-any.whl.metadata (13 kB) Requirement already satisfied: regex!=2019.12.17 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from transformers==4.42.4->-r requirements_versions.txt (line 3)) (2023.6.3) Requirement already satisfied: requests in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from transformers==4.42.4->-r requirements_versions.txt (line 3)) (2.31.0) Requirement already satisfied: colorama in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from tqdm==4.66.4->-r requirements_versions.txt (line 9)) (0.4.6) Requirement already satisfied: fsspec>=2022.5.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from fsspec[http]>=2022.5.0->pytorch_lightning==2.3.3->-r requirements_versions.txt (line 11)) (2023.6.0) Requirement already satisfied: torchmetrics>=0.7.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from pytorch_lightning==2.3.3->-r requirements_versions.txt (line 11)) (1.0.3) Requirement already satisfied: typing-extensions>=4.4.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from pytorch_lightning==2.3.3->-r requirements_versions.txt (line 11)) (4.7.1) Requirement already satisfied: lightning-utilities>=0.10.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from pytorch_lightning==2.3.3->-r requirements_versions.txt (line 11)) (0.11.5) Requirement already satisfied: antlr4-python3-runtime==4.9. in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from omegaconf==2.3.0->-r requirements_versions.txt (line 12)) (4.9.3) Requirement already satisfied: aiofiles<24.0,>=22.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from gradio==3.41.2->-r requirements_versions.txt (line 13)) (23.2.1) Requirement already satisfied: altair<6.0,>=4.2.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from gradio==3.41.2->-r requirements_versions.txt (line 13)) (5.0.1) Requirement already satisfied: fastapi in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from gradio==3.41.2->-r requirements_versions.txt (line 13)) (0.101.0) Requirement already satisfied: ffmpy in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from gradio==3.41.2->-r requirements_versions.txt (line 13)) (0.3.1) Requirement already satisfied: gradio-client==0.5.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from gradio==3.41.2->-r requirements_versions.txt (line 13)) (0.5.0) Requirement already satisfied: importlib-resources<7.0,>=1.3 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from gradio==3.41.2->-r requirements_versions.txt (line 13)) (6.4.0) Requirement already satisfied: jinja2<4.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from gradio==3.41.2->-r requirements_versions.txt (line 13)) (3.1.2) Requirement already satisfied: markupsafe~=2.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from gradio==3.41.2->-r requirements_versions.txt (line 13)) (2.1.3) Requirement already satisfied: matplotlib~=3.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from gradio==3.41.2->-r requirements_versions.txt (line 13)) (3.7.2) Requirement already satisfied: orjson~=3.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from gradio==3.41.2->-r requirements_versions.txt (line 13)) (3.9.4) Requirement already satisfied: pandas<3.0,>=1.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from gradio==3.41.2->-r requirements_versions.txt (line 13)) (2.0.3) Requirement already satisfied: pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,<3.0.0,>=1.7.4 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from gradio==3.41.2->-r requirements_versions.txt (line 13)) (2.1.1) Requirement already satisfied: pydub in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from gradio==3.41.2->-r requirements_versions.txt (line 13)) (0.25.1) Requirement already satisfied: python-multipart in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from gradio==3.41.2->-r requirements_versions.txt (line 13)) (0.0.6) Requirement already satisfied: semantic-version~=2.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from gradio==3.41.2->-r requirements_versions.txt (line 13)) (2.10.0) Requirement already satisfied: uvicorn>=0.14.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from gradio==3.41.2->-r requirements_versions.txt (line 13)) (0.23.2) Requirement already satisfied: websockets<12.0,>=10.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from gradio==3.41.2->-r requirements_versions.txt (line 13)) (11.0.3) Collecting cffi>=1.16.0 (from pygit2==1.15.1->-r requirements_versions.txt (line 14)) Downloading cffi-1.16.0-cp310-cp310-win_amd64.whl.metadata (1.5 kB) Requirement already satisfied: anyio in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from httpx==0.27.0->-r requirements_versions.txt (line 16)) (3.7.1) Requirement already satisfied: certifi in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from httpx==0.27.0->-r requirements_versions.txt (line 16)) (2023.5.7) Requirement already satisfied: httpcore==1. in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from httpx==0.27.0->-r requirements_versions.txt (line 16)) (1.0.5) Requirement already satisfied: idna in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from httpx==0.27.0->-r requirements_versions.txt (line 16)) (3.4) Requirement already satisfied: sniffio in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from httpx==0.27.0->-r requirements_versions.txt (line 16)) (1.3.0) Requirement already satisfied: coloredlogs in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from onnxruntime==1.18.1->-r requirements_versions.txt (line 17)) (15.0.1) Requirement already satisfied: flatbuffers in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from onnxruntime==1.18.1->-r requirements_versions.txt (line 17)) (23.5.26) Requirement already satisfied: protobuf in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from onnxruntime==1.18.1->-r requirements_versions.txt (line 17)) (5.27.2) Requirement already satisfied: sympy in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from onnxruntime==1.18.1->-r requirements_versions.txt (line 17)) (1.12) Requirement already satisfied: torchvision in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from timm==1.0.7->-r requirements_versions.txt (line 18)) (0.16.0+cu121) Requirement already satisfied: jsonschema in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from rembg==2.0.57->-r requirements_versions.txt (line 22)) (4.19.0) Requirement already satisfied: opencv-python-headless in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from rembg==2.0.57->-r requirements_versions.txt (line 22)) (4.10.0.84) Requirement already satisfied: pooch in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from rembg==2.0.57->-r requirements_versions.txt (line 22)) (1.8.2) Requirement already satisfied: pymatting in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from rembg==2.0.57->-r requirements_versions.txt (line 22)) (1.1.12) Requirement already satisfied: scikit-image in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from rembg==2.0.57->-r requirements_versions.txt (line 22)) (0.24.0) Requirement already satisfied: addict in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from groundingdino-py==0.4.0->-r requirements_versions.txt (line 23)) (2.4.0) Requirement already satisfied: yapf in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from groundingdino-py==0.4.0->-r requirements_versions.txt (line 23)) (0.40.2) Requirement already satisfied: opencv-python in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from groundingdino-py==0.4.0->-r requirements_versions.txt (line 23)) (4.8.1.78) Requirement already satisfied: supervision==0.6.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from groundingdino-py==0.4.0->-r requirements_versions.txt (line 23)) (0.6.0) Requirement already satisfied: pycocotools in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from groundingdino-py==0.4.0->-r requirements_versions.txt (line 23)) (2.0.8) Requirement already satisfied: h11<0.15,>=0.13 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from httpcore==1.*->httpx==0.27.0->-r requirements_versions.txt (line 16)) (0.14.0) Requirement already satisfied: toolz in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from altair<6.0,>=4.2.0->gradio==3.41.2->-r requirements_versions.txt (line 13)) (0.12.0) Requirement already satisfied: pycparser in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from cffi>=1.16.0->pygit2==1.15.1->-r requirements_versions.txt (line 14)) (2.21) Requirement already satisfied: aiohttp!=4.0.0a0,!=4.0.0a1 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from fsspec[http]>=2022.5.0->pytorch_lightning==2.3.3->-r requirements_versions.txt (line 11)) (3.8.4) Requirement already satisfied: attrs>=22.2.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from jsonschema->rembg==2.0.57->-r requirements_versions.txt (line 22)) (23.1.0) Requirement already satisfied: jsonschema-specifications>=2023.03.6 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from jsonschema->rembg==2.0.57->-r requirements_versions.txt (line 22)) (2023.7.1) Requirement already satisfied: referencing>=0.28.4 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from jsonschema->rembg==2.0.57->-r requirements_versions.txt (line 22)) (0.30.2) Requirement already satisfied: rpds-py>=0.7.1 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from jsonschema->rembg==2.0.57->-r requirements_versions.txt (line 22)) (0.9.2) Requirement already satisfied: setuptools in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from lightning-utilities>=0.10.0->pytorch_lightning==2.3.3->-r requirements_versions.txt (line 11)) (68.0.0) Requirement already satisfied: contourpy>=1.0.1 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from matplotlib~=3.0->gradio==3.41.2->-r requirements_versions.txt (line 13)) (1.1.0) Requirement already satisfied: cycler>=0.10 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from matplotlib~=3.0->gradio==3.41.2->-r requirements_versions.txt (line 13)) (0.11.0) Requirement already satisfied: fonttools>=4.22.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from matplotlib~=3.0->gradio==3.41.2->-r requirements_versions.txt (line 13)) (4.42.0) Requirement already satisfied: kiwisolver>=1.0.1 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from matplotlib~=3.0->gradio==3.41.2->-r requirements_versions.txt (line 13)) (1.4.4) Requirement already satisfied: pyparsing<3.1,>=2.3.1 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from matplotlib~=3.0->gradio==3.41.2->-r requirements_versions.txt (line 13)) (3.0.9) Requirement already satisfied: python-dateutil>=2.7 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from matplotlib~=3.0->gradio==3.41.2->-r requirements_versions.txt (line 13)) (2.8.2) Requirement already satisfied: pytz>=2020.1 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from pandas<3.0,>=1.0->gradio==3.41.2->-r requirements_versions.txt (line 13)) (2023.3) Requirement already satisfied: tzdata>=2022.1 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from pandas<3.0,>=1.0->gradio==3.41.2->-r requirements_versions.txt (line 13)) (2023.3) Requirement already satisfied: annotated-types>=0.4.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,<3.0.0,>=1.7.4->gradio==3.41.2->-r requirements_versions.txt (line 13)) (0.5.0) Requirement already satisfied: pydantic-core==2.4.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,<3.0.0,>=1.7.4->gradio==3.41.2->-r requirements_versions.txt (line 13)) (2.4.0) Requirement already satisfied: charset-normalizer<4,>=2 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from requests->transformers==4.42.4->-r requirements_versions.txt (line 3)) (3.1.0) Requirement already satisfied: urllib3<3,>=1.21.1 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from requests->transformers==4.42.4->-r requirements_versions.txt (line 3)) (2.0.3) Requirement already satisfied: networkx in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from torch>=1.6.0->torchsde==0.2.6->-r requirements_versions.txt (line 1)) (3.1) Requirement already satisfied: click>=7.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from uvicorn>=0.14.0->gradio==3.41.2->-r requirements_versions.txt (line 13)) (8.1.6) Requirement already satisfied: exceptiongroup in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from anyio->httpx==0.27.0->-r requirements_versions.txt (line 16)) (1.1.2) Requirement already satisfied: humanfriendly>=9.1 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from coloredlogs->onnxruntime==1.18.1->-r requirements_versions.txt (line 17)) (10.0) Requirement already satisfied: starlette<0.28.0,>=0.27.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from fastapi->gradio==3.41.2->-r requirements_versions.txt (line 13)) (0.27.0) Requirement already satisfied: platformdirs>=2.5.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from pooch->rembg==2.0.57->-r requirements_versions.txt (line 22)) (4.2.2) Requirement already satisfied: numba!=0.49.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from pymatting->rembg==2.0.57->-r requirements_versions.txt (line 22)) (0.58.1) Requirement already satisfied: imageio>=2.33 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from scikit-image->rembg==2.0.57->-r requirements_versions.txt (line 22)) (2.34.2) Requirement already satisfied: tifffile>=2022.8.12 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from scikit-image->rembg==2.0.57->-r requirements_versions.txt (line 22)) (2024.7.2) Requirement already satisfied: lazy-loader>=0.4 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from scikit-image->rembg==2.0.57->-r requirements_versions.txt (line 22)) (0.4) Requirement already satisfied: mpmath>=0.19 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from sympy->onnxruntime==1.18.1->-r requirements_versions.txt (line 17)) (1.3.0) Requirement already satisfied: importlib-metadata>=6.6.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from yapf->groundingdino-py==0.4.0->-r requirements_versions.txt (line 23)) (8.0.0) Requirement already satisfied: tomli>=2.0.1 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from yapf->groundingdino-py==0.4.0->-r requirements_versions.txt (line 23)) (2.0.1) Requirement already satisfied: multidict<7.0,>=4.5 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>=2022.5.0->pytorch_lightning==2.3.3->-r requirements_versions.txt (line 11)) (6.0.4) Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>=2022.5.0->pytorch_lightning==2.3.3->-r requirements_versions.txt (line 11)) (4.0.2) Requirement already satisfied: yarl<2.0,>=1.0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>=2022.5.0->pytorch_lightning==2.3.3->-r requirements_versions.txt (line 11)) (1.9.2) Requirement already satisfied: frozenlist>=1.1.1 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>=2022.5.0->pytorch_lightning==2.3.3->-r requirements_versions.txt (line 11)) (1.3.3) Requirement already satisfied: aiosignal>=1.1.2 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>=2022.5.0->pytorch_lightning==2.3.3->-r requirements_versions.txt (line 11)) (1.3.1) Requirement already satisfied: pyreadline3 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from humanfriendly>=9.1->coloredlogs->onnxruntime==1.18.1->-r requirements_versions.txt (line 17)) (3.4.1) Requirement already satisfied: zipp>=0.5 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from importlib-metadata>=6.6.0->yapf->groundingdino-py==0.4.0->-r requirements_versions.txt (line 23)) (3.19.2) Requirement already satisfied: llvmlite<0.42,>=0.41.0dev0 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from numba!=0.49.0->pymatting->rembg==2.0.57->-r requirements_versions.txt (line 22)) (0.41.1) Requirement already satisfied: six>=1.5 in d:\program files (x86)\foocus\python_embeded\lib\site-packages (from python-dateutil>=2.7->matplotlib~=3.0->gradio==3.41.2->-r requirements_versions.txt (line 13)) (1.16.0) Downloading torchsde-0.2.6-py3-none-any.whl (61 kB) ---------------------------------------- 61.2/61.2 kB ? eta 0:00:00 Downloading transformers-4.42.4-py3-none-any.whl (9.3 MB) ---------------------------------------- 9.3/9.3 MB 11.5 MB/s eta 0:00:00 Downloading accelerate-0.32.1-py3-none-any.whl (314 kB) ---------------------------------------- 314.1/314.1 kB 9.5 MB/s eta 0:00:00 Downloading pytorch_lightning-2.3.3-py3-none-any.whl (812 kB) --------------------------------------- 812.3/812.3 kB 10.3 MB/s eta 0:00:00 Downloading pygit2-1.15.1-cp310-cp310-win_amd64.whl (1.3 MB) ---------------------------------------- 1.3/1.3 MB 5.4 MB/s eta 0:00:00 Downloading httpx-0.27.0-py3-none-any.whl (75 kB) ---------------------------------------- 75.6/75.6 kB 4.1 MB/s eta 0:00:00 Downloading onnxruntime-1.18.1-cp310-cp310-win_amd64.whl (5.6 MB) ---------------------------------------- 5.6/5.6 MB 11.5 MB/s eta 0:00:00 Downloading timm-1.0.7-py3-none-any.whl (2.3 MB) ---------------------------------------- 2.3/2.3 MB 11.3 MB/s eta 0:00:00 Downloading tokenizers-0.19.1-cp310-none-win_amd64.whl (2.2 MB) ---------------------------------------- 2.2/2.2 MB 4.7 MB/s eta 0:00:00 Downloading cffi-1.16.0-cp310-cp310-win_amd64.whl (181 kB) ---------------------------------------- 181.6/181.6 kB 5.4 MB/s eta 0:00:00 Downloading huggingface_hub-0.24.5-py3-none-any.whl (417 kB) ---------------------------------------- 417.5/417.5 kB 8.7 MB/s eta 0:00:00 Installing collected packages: cffi, pygit2, huggingface-hub, httpx, torchsde, tokenizers, onnxruntime, accelerate, transformers, timm, pytorch_lightning Attempting uninstall: cffi Found existing installation: cffi 1.15.1 Uninstalling cffi-1.15.1:
stderr: WARNING: Error parsing dependencies of torchsde: . suffix can only be used with ==
or !=
operators
numpy (>=1.19.) ; python_version >= "3.7"
ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'd:\\program files (x86)\\foocus\\python_embeded\\lib\\site-packages\\_cffi_backend.cp310-win_amd64.pyd'
Consider using the `--user` option or check the permissions.
[notice] A new release of pip is available: 23.2.1 -> 24.2
[notice] To update, run: D:\Program Files (x86)\Foocus\python_embeded\python.exe -m pip install --upgrade pip
CMD Failed requirements: install -r "requirements_versions.txt"
[Cleanup] Attempting to delete content of temp dir C:\Users\sierb\AppData\Local\Temp\fooocus
[Cleanup] Cleanup successful
Total VRAM 12288 MB, total RAM 32680 MB
Set vram state to: NORMAL_VRAM
Always offload VRAM
Device: cuda:0 NVIDIA GeForce RTX 3060 : native
VAE dtype: torch.bfloat16
Traceback (most recent call last):
File "D:\Program Files (x86)\Foocus\Fooocus\entry_with_update.py", line 46, in <module>
from launch import *
File "D:\Program Files (x86)\Foocus\Fooocus\launch.py", line 147, in <module>
from webui import *
File "D:\Program Files (x86)\Foocus\Fooocus\webui.py", line 10, in <module>
import modules.async_worker as worker
File "D:\Program Files (x86)\Foocus\Fooocus\modules\async_worker.py", line 3, in <module>
from extras.inpaint_mask import generate_mask_from_image, SAMOptions
File "D:\Program Files (x86)\Foocus\Fooocus\extras\inpaint_mask.py", line 6, in <module>
from extras.GroundingDINO.util.inference import default_groundingdino
File "D:\Program Files (x86)\Foocus\Fooocus\extras\GroundingDINO\util\inference.py", line 11, in <module>
from groundingdino.util.inference import Model
File "D:\Program Files (x86)\Foocus\python_embeded\lib\site-packages\groundingdino\util\inference.py", line 11, in <module>
from groundingdino.models import build_model
File "D:\Program Files (x86)\Foocus\python_embeded\lib\site-packages\groundingdino\models\__init__.py", line 8, in <module>
from .GroundingDINO import build_groundingdino
File "D:\Program Files (x86)\Foocus\python_embeded\lib\site-packages\groundingdino\models\GroundingDINO\__init__.py", line 15, in <module>
from .groundingdino import build_groundingdino
File "D:\Program Files (x86)\Foocus\python_embeded\lib\site-packages\groundingdino\models\GroundingDINO\groundingdino.py", line 24, in <module>
from transformers import AutoTokenizer, BertModel, BertTokenizer, RobertaModel, RobertaTokenizerFast
File "D:\Program Files (x86)\Foocus\python_embeded\lib\site-packages\transformers\__init__.py", line 26, in <module>
from . import dependency_versions_check
File "D:\Program Files (x86)\Foocus\python_embeded\lib\site-packages\transformers\dependency_versions_check.py", line 57, in <module>
require_version_core(deps[pkg])
File "D:\Program Files (x86)\Foocus\python_embeded\lib\site-packages\transformers\utils\versions.py", line 117, in require_version_core
return require_version(requirement, hint)
File "D:\Program Files (x86)\Foocus\python_embeded\lib\site-packages\transformers\utils\versions.py", line 111, in require_version
_compare_versions(op, got_ver, want_ver, requirement, pkg, hint)
File "D:\Program Files (x86)\Foocus\python_embeded\lib\site-packages\transformers\utils\versions.py", line 44, in _compare_versions
raise ImportError(
ImportError: tokenizers>=0.19,<0.20 is required for a normal functioning of this module, but found tokenizers==0.13.3.
Try: `pip install transformers -U` or `pip install -e '.[dev]'` if you're working with git main
D:\Program Files (x86)\Foocus>pause
Press any key to continue . . .
Also had this issue. Only resolution was a clean install
Also had this issue. Only resolution was a clean install
And to do that all I have to do is remove the folder and start over?
Clean install fixed it
Checklist
What happened?
I can no longer start up Fooocus. It ends with "ModuleNotFoundError: No module named 'supervision'" and then goes into Pause, and if I press the key to continue Fooocus ends out.
Steps to reproduce the problem
Run run.bat
What should have happened?
Fooocus should have started as it has previously. This is a new issue.
What browsers do you use to access Fooocus?
Mozilla Firefox
Where are you running Fooocus?
Locally
What operating system are you using?
Windows 10
Console logs
Additional information
No response