Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requirements installation via pip fails on MSVC++ v14+ requirement #119

Open
DeepMac opened this issue Mar 12, 2024 · 1 comment
Open

Requirements installation via pip fails on MSVC++ v14+ requirement #119

DeepMac opened this issue Mar 12, 2024 · 1 comment

Comments

@DeepMac
Copy link

DeepMac commented Mar 12, 2024

Attempted to start working with Stable Cascade and encountered error indicating requirement of commercial C++ compiler. Unclear if this is actual requirement.

Steps performed:

  1. Installed Python 3.10.6 for Windows (x64)
  2. Installed Git for Windows v 2.440.windows.1
  3. Created a dedicated directory for working environment
  4. From command prompt (no admin access) issued following commands:
  5. git clone https://github.com/Stability-AI/StableCascade.git
  6. pip install -r requirements.txt

Installation of modules failed attempting to build insightface.thirdparty.face3d.mesh.cython.mesh_core_cython. Of note is package appears to be referenced in code but not listed in packages requirements insightinterface-egg

Hardware:
Processor Intel(R) Core(TM) i7-8086K CPU @ 4.00GHz 4.01 GHz
Installed RAM 32.0 GB
System type 64-bit operating system, x64-based processor

OS:
Edition Windows 10 Home
Version 21H2
OS build 19044.3086
Experience Windows Feature Experience Pack 1000.19041.1000.0

Activity Log

D:\Media\Stable Diffusion\Stable Cascade\StableCascade>more requirements.txt
--find-links https://download.pytorch.org/whl/torch_stable.html
accelerate>=0.25.0
torch==2.1.2+cu118
torchvision==0.16.2+cu118
transformers>=4.30.0
numpy>=1.23.5
kornia>=0.7.0
insightface>=0.7.3
opencv-python>=4.8.1.78
tqdm>=4.66.1
matplotlib>=3.7.4
webdataset>=0.2.79
wandb>=0.16.2
munch>=4.0.0
onnxruntime>=1.16.3
einops>=0.7.0
onnx2torch>=1.5.13
warmup-scheduler @ git+https://github.com/ildoonet/pytorch-gradual-warmup-lr.git
torchtools @ git+https://github.com/pabloppp/pytorch-tools

D:\Media\Stable Diffusion\Stable Cascade\StableCascade>pip install -r requirements.txt
Looking in links: https://download.pytorch.org/whl/torch_stable.html
Collecting warmup-scheduler@ git+https://github.com/ildoonet/pytorch-gradual-warmup-lr.git (from -r requirements.txt (line 18))
Cloning https://github.com/ildoonet/pytorch-gradual-warmup-lr.git to r:\programdata\temp\pip-install-ixy79xpm\warmup-scheduler_ad6651c858454890a264cba3ce496709
Running command git clone --filter=blob:none --quiet https://github.com/ildoonet/pytorch-gradual-warmup-lr.git 'R:\ProgramData\Temp\pip-install-ixy79xpm\warmup-scheduler_ad6651c858454890a264cba3ce496709'
Resolved https://github.com/ildoonet/pytorch-gradual-warmup-lr.git to commit 6b5e8953a80aef5b324104dc0c2e9b8c34d622bd
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting torchtools@ git+https://github.com/pabloppp/pytorch-tools (from -r requirements.txt (line 19))
Cloning https://github.com/pabloppp/pytorch-tools to r:\programdata\temp\pip-install-ixy79xpm\torchtools_cc68ee426a2442698202cebbab50c34c
Running command git clone --filter=blob:none --quiet https://github.com/pabloppp/pytorch-tools 'R:\ProgramData\Temp\pip-install-ixy79xpm\torchtools_cc68ee426a2442698202cebbab50c34c'
Resolved https://github.com/pabloppp/pytorch-tools to commit 41073efb6d6eb57e4a4f658591fa5dbcefebd447
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting accelerate>=0.25.0 (from -r requirements.txt (line 2))
Downloading accelerate-0.28.0-py3-none-any.whl.metadata (18 kB)
Collecting torch==2.1.2+cu118 (from -r requirements.txt (line 3))
Downloading https://download.pytorch.org/whl/cu118/torch-2.1.2%2Bcu118-cp310-cp310-win_amd64.whl (2722.7 MB)
---------------------------------------- 2.7/2.7 GB 1.8 MB/s eta 0:00:00
Collecting torchvision==0.16.2+cu118 (from -r requirements.txt (line 4))
Downloading https://download.pytorch.org/whl/cu118/torchvision-0.16.2%2Bcu118-cp310-cp310-win_amd64.whl (4.9 MB)
---------------------------------------- 4.9/4.9 MB 22.2 MB/s eta 0:00:00
Collecting transformers>=4.30.0 (from -r requirements.txt (line 5))
Downloading transformers-4.38.2-py3-none-any.whl.metadata (130 kB)
---------------------------------------- 130.7/130.7 kB 771.9 kB/s eta 0:00:00
Collecting numpy>=1.23.5 (from -r requirements.txt (line 6))
Downloading numpy-1.26.4-cp310-cp310-win_amd64.whl.metadata (61 kB)
---------------------------------------- 61.0/61.0 kB 325.6 kB/s eta 0:00:00
Collecting kornia>=0.7.0 (from -r requirements.txt (line 7))
Downloading kornia-0.7.1-py2.py3-none-any.whl.metadata (12 kB)
Collecting insightface>=0.7.3 (from -r requirements.txt (line 8))
Downloading insightface-0.7.3.tar.gz (439 kB)
---------------------------------------- 439.5/439.5 kB 2.8 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting opencv-python>=4.8.1.78 (from -r requirements.txt (line 9))
Downloading opencv_python-4.9.0.80-cp37-abi3-win_amd64.whl.metadata (20 kB)
Collecting tqdm>=4.66.1 (from -r requirements.txt (line 10))
Downloading tqdm-4.66.2-py3-none-any.whl.metadata (57 kB)
---------------------------------------- 57.6/57.6 kB 303.5 kB/s eta 0:00:00
Collecting matplotlib>=3.7.4 (from -r requirements.txt (line 11))
Downloading matplotlib-3.8.3-cp310-cp310-win_amd64.whl.metadata (5.9 kB)
Collecting webdataset>=0.2.79 (from -r requirements.txt (line 12))
Downloading webdataset-0.2.86-py3-none-any.whl.metadata (29 kB)
Collecting wandb>=0.16.2 (from -r requirements.txt (line 13))
Downloading wandb-0.16.4-py3-none-any.whl.metadata (10 kB)
Collecting munch>=4.0.0 (from -r requirements.txt (line 14))
Downloading munch-4.0.0-py2.py3-none-any.whl.metadata (5.9 kB)
Collecting onnxruntime>=1.16.3 (from -r requirements.txt (line 15))
Downloading onnxruntime-1.17.1-cp310-cp310-win_amd64.whl.metadata (4.4 kB)
Collecting einops>=0.7.0 (from -r requirements.txt (line 16))
Downloading einops-0.7.0-py3-none-any.whl.metadata (13 kB)
Collecting onnx2torch>=1.5.13 (from -r requirements.txt (line 17))
Downloading onnx2torch-1.5.13-py3-none-any.whl.metadata (22 kB)
Collecting filelock (from torch==2.1.2+cu118->-r requirements.txt (line 3))
Downloading filelock-3.13.1-py3-none-any.whl.metadata (2.8 kB)
Requirement already satisfied: typing-extensions in c:\users[redacted]\appdata\local\programs\python\python310\lib\site-packages (from torch==2.1.2+cu118->-r requirements.txt (line 3)) (4.10.0)
Collecting sympy (from torch==2.1.2+cu118->-r requirements.txt (line 3))
Downloading sympy-1.12-py3-none-any.whl.metadata (12 kB)
Collecting networkx (from torch==2.1.2+cu118->-r requirements.txt (line 3))
Downloading networkx-3.2.1-py3-none-any.whl.metadata (5.2 kB)
Requirement already satisfied: jinja2 in c:\users[redacted]\appdata\local\programs\python\python310\lib\site-packages (from torch==2.1.2+cu118->-r requirements.txt (line 3)) (3.1.3)
Collecting fsspec (from torch==2.1.2+cu118->-r requirements.txt (line 3))
Downloading fsspec-2024.2.0-py3-none-any.whl.metadata (6.8 kB)
Requirement already satisfied: requests in c:\users[redacted]\appdata\local\programs\python\python310\lib\site-packages (from torchvision==0.16.2+cu118->-r requirements.txt (line 4)) (2.31.0)
Collecting pillow!=8.3.*,>=5.3.0 (from torchvision==0.16.2+cu118->-r requirements.txt (line 4))
Downloading pillow-10.2.0-cp310-cp310-win_amd64.whl.metadata (9.9 kB)
Requirement already satisfied: packaging>=20.0 in c:\users[redacted]\appdata\local\programs\python\python310\lib\site-packages (from accelerate>=0.25.0->-r requirements.txt (line 2)) (24.0)
Requirement already satisfied: psutil in c:\users[redacted]\appdata\local\programs\python\python310\lib\site-packages (from accelerate>=0.25.0->-r requirements.txt (line 2)) (5.9.8)
Requirement already satisfied: pyyaml in c:\users[redacted]\appdata\local\programs\python\python310\lib\site-packages (from accelerate>=0.25.0->-r requirements.txt (line 2)) (6.0.1)
Collecting huggingface-hub (from accelerate>=0.25.0->-r requirements.txt (line 2))
Downloading huggingface_hub-0.21.4-py3-none-any.whl.metadata (13 kB)
Collecting safetensors>=0.3.1 (from accelerate>=0.25.0->-r requirements.txt (line 2))
Downloading safetensors-0.4.2-cp310-none-win_amd64.whl.metadata (3.9 kB)
Collecting regex!=2019.12.17 (from transformers>=4.30.0->-r requirements.txt (line 5))
Downloading regex-2023.12.25-cp310-cp310-win_amd64.whl.metadata (41 kB)
---------------------------------------- 42.0/42.0 kB 226.7 kB/s eta 0:00:00
Collecting tokenizers<0.19,>=0.14 (from transformers>=4.30.0->-r requirements.txt (line 5))
Downloading tokenizers-0.15.2-cp310-none-win_amd64.whl.metadata (6.8 kB)
Collecting onnx (from insightface>=0.7.3->-r requirements.txt (line 8))
Downloading onnx-1.15.0-cp310-cp310-win_amd64.whl.metadata (15 kB)
Collecting scipy (from insightface>=0.7.3->-r requirements.txt (line 8))
Downloading scipy-1.12.0-cp310-cp310-win_amd64.whl.metadata (60 kB)
---------------------------------------- 60.4/60.4 kB 356.1 kB/s eta 0:00:00
Collecting scikit-learn (from insightface>=0.7.3->-r requirements.txt (line 8))
Downloading scikit_learn-1.4.1.post1-cp310-cp310-win_amd64.whl.metadata (11 kB)
Collecting scikit-image (from insightface>=0.7.3->-r requirements.txt (line 8))
Downloading scikit_image-0.22.0-cp310-cp310-win_amd64.whl.metadata (13 kB)
Collecting easydict (from insightface>=0.7.3->-r requirements.txt (line 8))
Downloading easydict-1.13-py3-none-any.whl.metadata (4.2 kB)
Collecting cython (from insightface>=0.7.3->-r requirements.txt (line 8))
Using cached Cython-3.0.9-cp310-cp310-win_amd64.whl.metadata (3.2 kB)
Collecting albumentations (from insightface>=0.7.3->-r requirements.txt (line 8))
Downloading albumentations-1.4.1-py3-none-any.whl.metadata (36 kB)
Collecting prettytable (from insightface>=0.7.3->-r requirements.txt (line 8))
Downloading prettytable-3.10.0-py3-none-any.whl.metadata (30 kB)
Requirement already satisfied: colorama in c:\users[redacted]\appdata\local\programs\python\python310\lib\site-packages (from tqdm>=4.66.1->-r requirements.txt (line 10)) (0.4.6)
Collecting contourpy>=1.0.1 (from matplotlib>=3.7.4->-r requirements.txt (line 11))
Downloading contourpy-1.2.0-cp310-cp310-win_amd64.whl.metadata (5.8 kB)
Collecting cycler>=0.10 (from matplotlib>=3.7.4->-r requirements.txt (line 11))
Downloading cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB)
Collecting fonttools>=4.22.0 (from matplotlib>=3.7.4->-r requirements.txt (line 11))
Downloading fonttools-4.49.0-cp310-cp310-win_amd64.whl.metadata (162 kB)
---------------------------------------- 162.3/162.3 kB 1.1 MB/s eta 0:00:00
Collecting kiwisolver>=1.3.1 (from matplotlib>=3.7.4->-r requirements.txt (line 11))
Downloading kiwisolver-1.4.5-cp310-cp310-win_amd64.whl.metadata (6.5 kB)
Collecting pyparsing>=2.3.1 (from matplotlib>=3.7.4->-r requirements.txt (line 11))
Downloading pyparsing-3.1.2-py3-none-any.whl.metadata (5.1 kB)
Requirement already satisfied: python-dateutil>=2.7 in c:\users[redacted]\appdata\local\programs\python\python310\lib\site-packages (from matplotlib>=3.7.4->-r requirements.txt (line 11)) (2.9.0.post0)
Collecting braceexpand (from webdataset>=0.2.79->-r requirements.txt (line 12))
Downloading braceexpand-0.1.7-py2.py3-none-any.whl.metadata (3.0 kB)
Collecting Click!=8.0.0,>=7.1 (from wandb>=0.16.2->-r requirements.txt (line 13))
Downloading click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Collecting GitPython!=3.1.29,>=1.0.0 (from wandb>=0.16.2->-r requirements.txt (line 13))
Downloading GitPython-3.1.42-py3-none-any.whl.metadata (12 kB)
Collecting sentry-sdk>=1.0.0 (from wandb>=0.16.2->-r requirements.txt (line 13))
Downloading sentry_sdk-1.41.0-py2.py3-none-any.whl.metadata (9.7 kB)
Collecting docker-pycreds>=0.4.0 (from wandb>=0.16.2->-r requirements.txt (line 13))
Downloading docker_pycreds-0.4.0-py2.py3-none-any.whl.metadata (1.8 kB)
Collecting setproctitle (from wandb>=0.16.2->-r requirements.txt (line 13))
Downloading setproctitle-1.3.3-cp310-cp310-win_amd64.whl.metadata (10 kB)
Requirement already satisfied: setuptools in c:\users[redacted]\appdata\local\programs\python\python310\lib\site-packages (from wandb>=0.16.2->-r requirements.txt (line 13)) (63.2.0)
Collecting appdirs>=1.4.3 (from wandb>=0.16.2->-r requirements.txt (line 13))
Downloading appdirs-1.4.4-py2.py3-none-any.whl.metadata (9.0 kB)
Collecting protobuf!=4.21.0,<5,>=3.19.0 (from wandb>=0.16.2->-r requirements.txt (line 13))
Downloading protobuf-4.25.3-cp310-abi3-win_amd64.whl.metadata (541 bytes)
Collecting coloredlogs (from onnxruntime>=1.16.3->-r requirements.txt (line 15))
Downloading coloredlogs-15.0.1-py2.py3-none-any.whl.metadata (12 kB)
Collecting flatbuffers (from onnxruntime>=1.16.3->-r requirements.txt (line 15))
Downloading flatbuffers-24.3.7-py2.py3-none-any.whl.metadata (849 bytes)
Collecting ninja>=1.0 (from torchtools@ git+https://github.com/pabloppp/pytorch-tools->-r requirements.txt (line 19))
Downloading ninja-1.11.1.1-py2.py3-none-win_amd64.whl.metadata (5.4 kB)
Requirement already satisfied: six>=1.4.0 in c:\users[redacted]\appdata\local\programs\python\python310\lib\site-packages (from docker-pycreds>=0.4.0->wandb>=0.16.2->-r requirements.txt (line 13)) (1.16.0)
Collecting gitdb<5,>=4.0.1 (from GitPython!=3.1.29,>=1.0.0->wandb>=0.16.2->-r requirements.txt (line 13))
Downloading gitdb-4.0.11-py3-none-any.whl.metadata (1.2 kB)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\users[redacted]\appdata\local\programs\python\python310\lib\site-packages (from requests->torchvision==0.16.2+cu118->-r requirements.txt (line 4)) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in c:\users[redacted]\appdata\local\programs\python\python310\lib\site-packages (from requests->torchvision==0.16.2+cu118->-r requirements.txt (line 4)) (3.6)
Requirement already satisfied: urllib3<3,>=1.21.1 in c:\users[redacted]\appdata\local\programs\python\python310\lib\site-packages (from requests->torchvision==0.16.2+cu118->-r requirements.txt (line 4)) (2.2.1)
Requirement already satisfied: certifi>=2017.4.17 in c:\users[redacted]\appdata\local\programs\python\python310\lib\site-packages (from requests->torchvision==0.16.2+cu118->-r requirements.txt (line 4)) (2024.2.2)
Collecting opencv-python-headless>=4.9.0 (from albumentations->insightface>=0.7.3->-r requirements.txt (line 8))
Downloading opencv_python_headless-4.9.0.80-cp37-abi3-win_amd64.whl.metadata (20 kB)
Collecting imageio>=2.27 (from scikit-image->insightface>=0.7.3->-r requirements.txt (line 8))
Downloading imageio-2.34.0-py3-none-any.whl.metadata (4.9 kB)
Collecting tifffile>=2022.8.12 (from scikit-image->insightface>=0.7.3->-r requirements.txt (line 8))
Downloading tifffile-2024.2.12-py3-none-any.whl.metadata (31 kB)
Collecting lazy_loader>=0.3 (from scikit-image->insightface>=0.7.3->-r requirements.txt (line 8))
Downloading lazy_loader-0.3-py3-none-any.whl.metadata (4.3 kB)
Collecting joblib>=1.2.0 (from scikit-learn->insightface>=0.7.3->-r requirements.txt (line 8))
Downloading joblib-1.3.2-py3-none-any.whl.metadata (5.4 kB)
Collecting threadpoolctl>=2.0.0 (from scikit-learn->insightface>=0.7.3->-r requirements.txt (line 8))
Downloading threadpoolctl-3.3.0-py3-none-any.whl.metadata (13 kB)
Collecting humanfriendly>=9.1 (from coloredlogs->onnxruntime>=1.16.3->-r requirements.txt (line 15))
Downloading humanfriendly-10.0-py2.py3-none-any.whl.metadata (9.2 kB)
Requirement already satisfied: MarkupSafe>=2.0 in c:\users[redacted]\appdata\local\programs\python\python310\lib\site-packages (from jinja2->torch==2.1.2+cu118->-r requirements.txt (line 3)) (2.1.5)
Requirement already satisfied: wcwidth in c:\users[redacted]\appdata\local\programs\python\python310\lib\site-packages (from prettytable->insightface>=0.7.3->-r requirements.txt (line 8)) (0.2.13)
Collecting mpmath>=0.19 (from sympy->torch==2.1.2+cu118->-r requirements.txt (line 3))
Downloading mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB)
Collecting smmap<6,>=3.0.1 (from gitdb<5,>=4.0.1->GitPython!=3.1.29,>=1.0.0->wandb>=0.16.2->-r requirements.txt (line 13))
Downloading smmap-5.0.1-py3-none-any.whl.metadata (4.3 kB)
Collecting pyreadline3 (from humanfriendly>=9.1->coloredlogs->onnxruntime>=1.16.3->-r requirements.txt (line 15))
Downloading pyreadline3-3.4.1-py3-none-any.whl.metadata (2.0 kB)
Downloading accelerate-0.28.0-py3-none-any.whl (290 kB)
---------------------------------------- 290.1/290.1 kB 6.0 MB/s eta 0:00:00
Downloading transformers-4.38.2-py3-none-any.whl (8.5 MB)
---------------------------------------- 8.5/8.5 MB 34.1 MB/s eta 0:00:00
Using cached numpy-1.26.4-cp310-cp310-win_amd64.whl (15.8 MB)
Downloading kornia-0.7.1-py2.py3-none-any.whl (756 kB)
---------------------------------------- 756.0/756.0 kB 15.9 MB/s eta 0:00:00
Downloading opencv_python-4.9.0.80-cp37-abi3-win_amd64.whl (38.6 MB)
---------------------------------------- 38.6/38.6 MB 31.2 MB/s eta 0:00:00
Downloading tqdm-4.66.2-py3-none-any.whl (78 kB)
---------------------------------------- 78.3/78.3 kB 2.2 MB/s eta 0:00:00
Downloading matplotlib-3.8.3-cp310-cp310-win_amd64.whl (7.6 MB)
---------------------------------------- 7.6/7.6 MB 35.0 MB/s eta 0:00:00
Downloading webdataset-0.2.86-py3-none-any.whl (70 kB)
---------------------------------------- 70.4/70.4 kB 1.9 MB/s eta 0:00:00
Downloading wandb-0.16.4-py3-none-any.whl (2.2 MB)
---------------------------------------- 2.2/2.2 MB 23.6 MB/s eta 0:00:00
Downloading munch-4.0.0-py2.py3-none-any.whl (9.9 kB)
Downloading onnxruntime-1.17.1-cp310-cp310-win_amd64.whl (5.6 MB)
---------------------------------------- 5.6/5.6 MB 32.5 MB/s eta 0:00:00
Downloading einops-0.7.0-py3-none-any.whl (44 kB)
---------------------------------------- 44.6/44.6 kB 1.1 MB/s eta 0:00:00
Downloading onnx2torch-1.5.13-py3-none-any.whl (78 kB)
---------------------------------------- 78.4/78.4 kB 1.5 MB/s eta 0:00:00
Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Downloading click-8.1.7-py3-none-any.whl (97 kB)
---------------------------------------- 97.9/97.9 kB 1.9 MB/s eta 0:00:00
Downloading contourpy-1.2.0-cp310-cp310-win_amd64.whl (186 kB)
---------------------------------------- 186.7/186.7 kB 2.8 MB/s eta 0:00:00
Downloading cycler-0.12.1-py3-none-any.whl (8.3 kB)
Downloading docker_pycreds-0.4.0-py2.py3-none-any.whl (9.0 kB)
Downloading fonttools-4.49.0-cp310-cp310-win_amd64.whl (2.2 MB)
---------------------------------------- 2.2/2.2 MB 23.1 MB/s eta 0:00:00
Downloading GitPython-3.1.42-py3-none-any.whl (195 kB)
---------------------------------------- 195.4/195.4 kB 4.0 MB/s eta 0:00:00
Downloading huggingface_hub-0.21.4-py3-none-any.whl (346 kB)
---------------------------------------- 346.4/346.4 kB 7.2 MB/s eta 0:00:00
Downloading fsspec-2024.2.0-py3-none-any.whl (170 kB)
---------------------------------------- 170.9/170.9 kB 3.4 MB/s eta 0:00:00
Downloading kiwisolver-1.4.5-cp310-cp310-win_amd64.whl (56 kB)
---------------------------------------- 56.1/56.1 kB 996.8 kB/s eta 0:00:00
Downloading ninja-1.11.1.1-py2.py3-none-win_amd64.whl (312 kB)
---------------------------------------- 313.0/313.0 kB 6.4 MB/s eta 0:00:00
Downloading onnx-1.15.0-cp310-cp310-win_amd64.whl (14.3 MB)
---------------------------------------- 14.3/14.3 MB 29.7 MB/s eta 0:00:00
Downloading pillow-10.2.0-cp310-cp310-win_amd64.whl (2.6 MB)
---------------------------------------- 2.6/2.6 MB 23.7 MB/s eta 0:00:00
Downloading protobuf-4.25.3-cp310-abi3-win_amd64.whl (413 kB)
---------------------------------------- 413.4/413.4 kB 6.4 MB/s eta 0:00:00
Downloading pyparsing-3.1.2-py3-none-any.whl (103 kB)
---------------------------------------- 103.2/103.2 kB 1.5 MB/s eta 0:00:00
Downloading regex-2023.12.25-cp310-cp310-win_amd64.whl (269 kB)
---------------------------------------- 269.5/269.5 kB 5.5 MB/s eta 0:00:00
Downloading safetensors-0.4.2-cp310-none-win_amd64.whl (269 kB)
---------------------------------------- 269.5/269.5 kB 4.2 MB/s eta 0:00:00
Downloading sentry_sdk-1.41.0-py2.py3-none-any.whl (258 kB)
---------------------------------------- 258.8/258.8 kB 5.3 MB/s eta 0:00:00
Downloading tokenizers-0.15.2-cp310-none-win_amd64.whl (2.2 MB)
---------------------------------------- 2.2/2.2 MB 20.0 MB/s eta 0:00:00
Downloading albumentations-1.4.1-py3-none-any.whl (130 kB)
---------------------------------------- 130.5/130.5 kB 1.9 MB/s eta 0:00:00
Downloading scikit_image-0.22.0-cp310-cp310-win_amd64.whl (24.5 MB)
---------------------------------------- 24.5/24.5 MB 28.5 MB/s eta 0:00:00
Downloading networkx-3.2.1-py3-none-any.whl (1.6 MB)
---------------------------------------- 1.6/1.6 MB 14.9 MB/s eta 0:00:00
Downloading scikit_learn-1.4.1.post1-cp310-cp310-win_amd64.whl (10.6 MB)
---------------------------------------- 10.6/10.6 MB 36.4 MB/s eta 0:00:00
Downloading scipy-1.12.0-cp310-cp310-win_amd64.whl (46.2 MB)
---------------------------------------- 46.2/46.2 MB 27.3 MB/s eta 0:00:00
Downloading braceexpand-0.1.7-py2.py3-none-any.whl (5.9 kB)
Downloading coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB)
---------------------------------------- 46.0/46.0 kB 577.1 kB/s eta 0:00:00
Using cached Cython-3.0.9-cp310-cp310-win_amd64.whl (2.8 MB)
Downloading easydict-1.13-py3-none-any.whl (6.8 kB)
Downloading filelock-3.13.1-py3-none-any.whl (11 kB)
Downloading flatbuffers-24.3.7-py2.py3-none-any.whl (26 kB)
Downloading prettytable-3.10.0-py3-none-any.whl (28 kB)
Downloading setproctitle-1.3.3-cp310-cp310-win_amd64.whl (11 kB)
Downloading sympy-1.12-py3-none-any.whl (5.7 MB)
---------------------------------------- 5.7/5.7 MB 26.2 MB/s eta 0:00:00
Downloading gitdb-4.0.11-py3-none-any.whl (62 kB)
---------------------------------------- 62.7/62.7 kB 846.5 kB/s eta 0:00:00
Downloading humanfriendly-10.0-py2.py3-none-any.whl (86 kB)
---------------------------------------- 86.8/86.8 kB 981.5 kB/s eta 0:00:00
Downloading imageio-2.34.0-py3-none-any.whl (313 kB)
---------------------------------------- 313.4/313.4 kB 3.9 MB/s eta 0:00:00
Downloading joblib-1.3.2-py3-none-any.whl (302 kB)
---------------------------------------- 302.2/302.2 kB 4.6 MB/s eta 0:00:00
Downloading lazy_loader-0.3-py3-none-any.whl (9.1 kB)
Downloading mpmath-1.3.0-py3-none-any.whl (536 kB)
---------------------------------------- 536.2/536.2 kB 6.7 MB/s eta 0:00:00
Downloading opencv_python_headless-4.9.0.80-cp37-abi3-win_amd64.whl (38.5 MB)
---------------------------------------- 38.5/38.5 MB 26.1 MB/s eta 0:00:00
Downloading threadpoolctl-3.3.0-py3-none-any.whl (17 kB)
Downloading tifffile-2024.2.12-py3-none-any.whl (224 kB)
---------------------------------------- 224.5/224.5 kB 3.5 MB/s eta 0:00:00
Downloading smmap-5.0.1-py3-none-any.whl (24 kB)
Downloading pyreadline3-3.4.1-py3-none-any.whl (95 kB)
---------------------------------------- 95.2/95.2 kB 1.4 MB/s eta 0:00:00
Building wheels for collected packages: insightface, warmup-scheduler, torchtools
Building wheel for insightface (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for insightface (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [216 lines of output]
WARNING: pandoc not enabled
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-310
creating build\lib.win-amd64-cpython-310\insightface
copying insightface_init_.py -> build\lib.win-amd64-cpython-310\insightface
creating build\lib.win-amd64-cpython-310\insightface\app
copying insightface\app\common.py -> build\lib.win-amd64-cpython-310\insightface\app
copying insightface\app\face_analysis.py -> build\lib.win-amd64-cpython-310\insightface\app
copying insightface\app\mask_renderer.py -> build\lib.win-amd64-cpython-310\insightface\app
copying insightface\app_init_.py -> build\lib.win-amd64-cpython-310\insightface\app
creating build\lib.win-amd64-cpython-310\insightface\commands
copying insightface\commands\insightface_cli.py -> build\lib.win-amd64-cpython-310\insightface\commands
copying insightface\commands\model_download.py -> build\lib.win-amd64-cpython-310\insightface\commands
copying insightface\commands\rec_add_mask_param.py -> build\lib.win-amd64-cpython-310\insightface\commands
copying insightface\commands_init_.py -> build\lib.win-amd64-cpython-310\insightface\commands
creating build\lib.win-amd64-cpython-310\insightface\data
copying insightface\data\image.py -> build\lib.win-amd64-cpython-310\insightface\data
copying insightface\data\pickle_object.py -> build\lib.win-amd64-cpython-310\insightface\data
copying insightface\data\rec_builder.py -> build\lib.win-amd64-cpython-310\insightface\data
copying insightface\data_init_.py -> build\lib.win-amd64-cpython-310\insightface\data
creating build\lib.win-amd64-cpython-310\insightface\model_zoo
copying insightface\model_zoo\arcface_onnx.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo
copying insightface\model_zoo\attribute.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo
copying insightface\model_zoo\inswapper.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo
copying insightface\model_zoo\landmark.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo
copying insightface\model_zoo\model_store.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo
copying insightface\model_zoo\model_zoo.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo
copying insightface\model_zoo\retinaface.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo
copying insightface\model_zoo\scrfd.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo
copying insightface\model_zoo_init_.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo
creating build\lib.win-amd64-cpython-310\insightface\thirdparty
copying insightface\thirdparty_init_.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty
creating build\lib.win-amd64-cpython-310\insightface\utils
copying insightface\utils\constant.py -> build\lib.win-amd64-cpython-310\insightface\utils
copying insightface\utils\download.py -> build\lib.win-amd64-cpython-310\insightface\utils
copying insightface\utils\face_align.py -> build\lib.win-amd64-cpython-310\insightface\utils
copying insightface\utils\filesystem.py -> build\lib.win-amd64-cpython-310\insightface\utils
copying insightface\utils\storage.py -> build\lib.win-amd64-cpython-310\insightface\utils
copying insightface\utils\transform.py -> build\lib.win-amd64-cpython-310\insightface\utils
copying insightface\utils_init_.py -> build\lib.win-amd64-cpython-310\insightface\utils
creating build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d
copying insightface\thirdparty\face3d_init_.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d
creating build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh
copying insightface\thirdparty\face3d\mesh\io.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh
copying insightface\thirdparty\face3d\mesh\light.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh
copying insightface\thirdparty\face3d\mesh\render.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh
copying insightface\thirdparty\face3d\mesh\transform.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh
copying insightface\thirdparty\face3d\mesh\vis.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh
copying insightface\thirdparty\face3d\mesh_init_.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh
creating build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh_numpy
copying insightface\thirdparty\face3d\mesh_numpy\io.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh_numpy
copying insightface\thirdparty\face3d\mesh_numpy\light.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh_numpy
copying insightface\thirdparty\face3d\mesh_numpy\render.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh_numpy
copying insightface\thirdparty\face3d\mesh_numpy\transform.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh_numpy
copying insightface\thirdparty\face3d\mesh_numpy\vis.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh_numpy
copying insightface\thirdparty\face3d\mesh_numpy_init_.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh_numpy
creating build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\morphable_model
copying insightface\thirdparty\face3d\morphable_model\fit.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\morphable_model
copying insightface\thirdparty\face3d\morphable_model\load.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\morphable_model
copying insightface\thirdparty\face3d\morphable_model\morphabel_model.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\morphable_model
copying insightface\thirdparty\face3d\morphable_model_init_.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\morphable_model
running egg_info
writing insightface.egg-info\PKG-INFO
writing dependency_links to insightface.egg-info\dependency_links.txt
writing entry points to insightface.egg-info\entry_points.txt
writing requirements to insightface.egg-info\requires.txt
writing top-level names to insightface.egg-info\top_level.txt
dependency insightface\thirdparty\face3d\mesh\cython\mesh_core.h won't be automatically included in the manifest: the path doesn't exist
reading manifest file 'insightface.egg-info\SOURCES.txt'
writing manifest file 'insightface.egg-info\SOURCES.txt'
R:\ProgramData\Temp\pip-build-env-ru3ekngx\overlay\Lib\site-packages\setuptools\command\build_py.py:207: _Warning: Package 'insightface.thirdparty.face3d.mesh.cython' is absent from the packages configuration.
!!

          ********************************************************************************
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'insightface.thirdparty.face3d.mesh.cython' as an importable package[^1],
          but it is absent from setuptools' `packages` configuration.

          This leads to an ambiguous overall configuration. If you want to distribute this
          package, please make sure that 'insightface.thirdparty.face3d.mesh.cython' is explicitly added
          to the `packages` configuration field.

          Alternatively, you can also rely on setuptools' discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).

          You can read more about "package discovery" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

          If you don't want 'insightface.thirdparty.face3d.mesh.cython' to be distributed and are
          already explicitly excluding 'insightface.thirdparty.face3d.mesh.cython' via
          `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
          you can try to use `exclude_package_data`, or `include-package-data=False` in
          combination with a more fine grained `package-data` configuration.

          You can read more about "package data files" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


          [^1]: For Python, any directory (with suitable naming) can be imported,
                even if it does not contain any `.py` files.
                On the other hand, currently there is no concept of package data
                directory, all directories are treated like packages.
          ********************************************************************************

  !!
    check.warn(importable)
  R:\ProgramData\Temp\pip-build-env-ru3ekngx\overlay\Lib\site-packages\setuptools\command\build_py.py:207: _Warning: Package 'insightface.data.images' is absent from the `packages` configuration.
  !!

          ********************************************************************************
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'insightface.data.images' as an importable package[^1],
          but it is absent from setuptools' `packages` configuration.

          This leads to an ambiguous overall configuration. If you want to distribute this
          package, please make sure that 'insightface.data.images' is explicitly added
          to the `packages` configuration field.

          Alternatively, you can also rely on setuptools' discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).

          You can read more about "package discovery" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

          If you don't want 'insightface.data.images' to be distributed and are
          already explicitly excluding 'insightface.data.images' via
          `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
          you can try to use `exclude_package_data`, or `include-package-data=False` in
          combination with a more fine grained `package-data` configuration.

          You can read more about "package data files" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


          [^1]: For Python, any directory (with suitable naming) can be imported,
                even if it does not contain any `.py` files.
                On the other hand, currently there is no concept of package data
                directory, all directories are treated like packages.
          ********************************************************************************

  !!
    check.warn(importable)
  R:\ProgramData\Temp\pip-build-env-ru3ekngx\overlay\Lib\site-packages\setuptools\command\build_py.py:207: _Warning: Package 'insightface.data.objects' is absent from the `packages` configuration.
  !!

          ********************************************************************************
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'insightface.data.objects' as an importable package[^1],
          but it is absent from setuptools' `packages` configuration.

          This leads to an ambiguous overall configuration. If you want to distribute this
          package, please make sure that 'insightface.data.objects' is explicitly added
          to the `packages` configuration field.

          Alternatively, you can also rely on setuptools' discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).

          You can read more about "package discovery" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

          If you don't want 'insightface.data.objects' to be distributed and are
          already explicitly excluding 'insightface.data.objects' via
          `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
          you can try to use `exclude_package_data`, or `include-package-data=False` in
          combination with a more fine grained `package-data` configuration.

          You can read more about "package data files" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


          [^1]: For Python, any directory (with suitable naming) can be imported,
                even if it does not contain any `.py` files.
                On the other hand, currently there is no concept of package data
                directory, all directories are treated like packages.
          ********************************************************************************

  !!
    check.warn(importable)
  creating build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh\cython
  copying insightface\thirdparty\face3d\mesh\cython\mesh_core.cpp -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh\cython
  copying insightface\thirdparty\face3d\mesh\cython\mesh_core_cython.cpp -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh\cython
  creating build\lib.win-amd64-cpython-310\insightface\data\images
  copying insightface\data\images\Tom_Hanks_54745.png -> build\lib.win-amd64-cpython-310\insightface\data\images
  copying insightface\data\images\mask_black.jpg -> build\lib.win-amd64-cpython-310\insightface\data\images
  copying insightface\data\images\mask_blue.jpg -> build\lib.win-amd64-cpython-310\insightface\data\images
  copying insightface\data\images\mask_green.jpg -> build\lib.win-amd64-cpython-310\insightface\data\images
  copying insightface\data\images\mask_white.jpg -> build\lib.win-amd64-cpython-310\insightface\data\images
  copying insightface\data\images\t1.jpg -> build\lib.win-amd64-cpython-310\insightface\data\images
  creating build\lib.win-amd64-cpython-310\insightface\data\objects
  copying insightface\data\objects\meanshape_68.pkl -> build\lib.win-amd64-cpython-310\insightface\data\objects
  copying insightface\thirdparty\face3d\mesh\cython\mesh_core.h -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh\cython
  copying insightface\thirdparty\face3d\mesh\cython\mesh_core_cython.c -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh\cython
  copying insightface\thirdparty\face3d\mesh\cython\mesh_core_cython.cpp -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh\cython
  copying insightface\thirdparty\face3d\mesh\cython\mesh_core_cython.pyx -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh\cython
  copying insightface\thirdparty\face3d\mesh\cython\setup.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh\cython
  running build_ext
  building 'insightface.thirdparty.face3d.mesh.cython.mesh_core_cython' extension
  error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for insightface
Building wheel for warmup-scheduler (pyproject.toml) ... done
Created wheel for warmup-scheduler: filename=warmup_scheduler-0.3.2-py3-none-any.whl size=3908 sha256=47b5bcc2fdbe3e94bae6088d115d1bb4041f564d9aa253f58f76f8cb8e0ed79f
Stored in directory: R:\ProgramData\Temp\pip-ephem-wheel-cache-7i8m_oss\wheels\49\78\e6\9168d5844935482a171c7880a0626fa1c6c412b55666635f59
Building wheel for torchtools (pyproject.toml) ... done
Created wheel for torchtools: filename=torchtools-0.3.5-py3-none-any.whl size=457734 sha256=b0218126eee568fcf1668d8e98577ba180203732d66060e218c0ee0c305bda14
Stored in directory: R:\ProgramData\Temp\pip-ephem-wheel-cache-7i8m_oss\wheels\8a\54\d6\da73a3a6b36c3f9309983d5e7665a21e9154ac5a9bff318fc9
Successfully built warmup-scheduler torchtools
Failed to build insightface
ERROR: Could not build wheels for insightface, which is required to install pyproject.toml-based projects

@FurkanGozukara
Copy link

sadly not easy to install and run

for who cant make, i spent days to make this amazing installer and app

#125

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants