-
Notifications
You must be signed in to change notification settings - Fork 152
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
Not able to build the wheel for pynim #1
Comments
i am trying to install it using conda. |
that didn't work for me, still seems to be about the same issue, something with pynim. could it be a outdated visual code compiler? |
Hi. This is an older GitHub only python package of mine. It is not on Conda or Pypi. Only here: https://github.com/vork/PyNanoInstantMeshes I’m currently working on a fix for building under windows. I will update here soon |
My ENV: Python 3.10.6 The current gradio_app works on my side. |
I don't have much to add except that I am also running on a Windows machine. I've run several other AI-fueled apps in the past with the required python dependencies and those would rarely give me trouble. I attempted different version of Python, uninstalling and reinstalling packages, I tried using Anaconda, and also modifying my VS2022 install to include several more libraries to see if that would improve things and every time it either stalls on installing pynim or gpytoolbox via wheel. Various conversation with Github Copilot didn't unearth much. If anyone has a suggestion for how to install including cleaning up my environment, or reinstalling various editions of VS, Build Tools, or Python, I'll give it a shot. |
Same issue but on Debian 13, thanks vork. Suppressing TBB warnings may work at cost of performance/stability, I don't believe changing python/env anything will help. |
Same issue. I've run stable diffusion webUI and ComfyUI in this environment, and they worked properly. I tried reinstalling VS2022, creating another environment in Anaconda, and changing my Python version, but still not working. |
Can you try again to install the requirements or just do @jammm provided a fix for the windows compile. |
I run gradio_app.py to download model first, and I installed several missing packages like pymatting, now it works but I don't know why... |
Can't Build the Project on Linux/Ubuntu 24.04 LTS Environment:
Issue: Error Details:
|
Can you share the full build logs? |
The log file was too long, so I had to shorten it. Click to expand the build log``` pip install -r requirements.txt Collecting git+https://github.com/vork/PyNanoInstantMeshes.git (from -r requirements.txt (line 11)) Cloning https://github.com/vork/PyNanoInstantMeshes.git to /tmp/pip-req-build-037saf4b Running command git clone --filter=blob:none --quiet https://github.com/vork/PyNanoInstantMeshes.git /tmp/pip-req-build-037saf4b Resolved https://github.com/vork/PyNanoInstantMeshes.git to commit 6f807eaf4206e9af37c56cf02d1102793a808cb1 Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... done Collecting einops==0.7.0 (from -r requirements.txt (line 1)) Using cached einops-0.7.0-py3-none-any.whl.metadata (13 kB) Collecting jaxtyping==0.2.31 (from -r requirements.txt (line 2)) Using cached jaxtyping-0.2.31-py3-none-any.whl.metadata (6.4 kB) Collecting omegaconf==2.3.0 (from -r requirements.txt (line 3)) Using cached omegaconf-2.3.0-py3-none-any.whl.metadata (3.9 kB) Collecting transformers==4.42.3 (from -r requirements.txt (line 4)) Using cached transformers-4.42.3-py3-none-any.whl.metadata (43 kB) Collecting slangtorch==1.2.2 (from -r requirements.txt (line 5)) Using cached slangtorch-1.2.2-py3-none-any.whl.metadata (882 bytes) Collecting open_clip_torch==2.24.0 (from -r requirements.txt (line 6)) Using cached open_clip_torch-2.24.0-py3-none-any.whl.metadata (30 kB) Collecting trimesh==4.4.1 (from -r requirements.txt (line 7)) Using cached trimesh-4.4.1-py3-none-any.whl.metadata (18 kB) Collecting numpy==1.26.4 (from -r requirements.txt (line 8)) Using cached numpy-1.26.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (61 kB) Collecting huggingface-hub==0.23.4 (from -r requirements.txt (line 9)) Using cached huggingface_hub-0.23.4-py3-none-any.whl.metadata (12 kB) Collecting rembg==2.0.57 (from rembg[gpu]==2.0.57->-r requirements.txt (line 10)) Using cached rembg-2.0.57-py3-none-any.whl.metadata (16 kB) Collecting gpytoolbox==0.2.0 (from -r requirements.txt (line 12)) Using cached gpytoolbox-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (9.6 kB) Collecting typeguard==2.13.3 (from jaxtyping==0.2.31->-r requirements.txt (line 2)) Using cached typeguard-2.13.3-py3-none-any.whl.metadata (3.6 kB) Collecting antlr4-python3-runtime==4.9.* (from omegaconf==2.3.0->-r requirements.txt (line 3)) Using cached antlr4_python3_runtime-4.9.3-py3-none-any.whl Collecting PyYAML>=5.1.0 (from omegaconf==2.3.0->-r requirements.txt (line 3)) Using cached PyYAML-6.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB) Requirement already satisfied: filelock in /mnt/TurboTux/AnacondaWorkspace/anaconda3/envs/fast3d/lib/python3.10/site-packages (from transformers==4.42.3->-r requirements.txt (line 4)) (3.15.4) Requirement already satisfied: packaging>=20.0 in /mnt/TurboTux/AnacondaWorkspace/anaconda3/envs/fast3d/lib/python3.10/site-packages (from transformers==4.42.3->-r requirements.txt (line 4)) (24.1) Collecting regex!=2019.12.17 (from transformers==4.42.3->-r requirements.txt (line 4)) Using cached regex-2024.7.24-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (40 kB) Collecting requests (from transformers==4.42.3->-r requirements.txt (line 4)) Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB) Collecting safetensors>=0.4.1 (from transformers==4.42.3->-r requirements.txt (line 4)) Using cached safetensors-0.4.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.8 kB) Collecting tokenizers<0.20,>=0.19 (from transformers==4.42.3->-r requirements.txt (line 4)) Using cached tokenizers-0.19.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.7 kB) Collecting tqdm>=4.27 (from transformers==4.42.3->-r requirements.txt (line 4)) Using cached tqdm-4.66.5-py3-none-any.whl.metadata (57 kB) Collecting hatchling>=1.11.0 (from slangtorch==1.2.2->-r requirements.txt (line 5)) Using cached hatchling-1.25.0-py3-none-any.whl.metadata (3.8 kB) Collecting ninja (from slangtorch==1.2.2->-r requirements.txt (line 5)) Using cached ninja-1.11.1.1-py2.py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.whl.metadata (5.3 kB) Requirement already satisfied: torch>=1.1.0 in /mnt/TurboTux/AnacondaWorkspace/anaconda3/envs/fast3d/lib/python3.10/site-packages (from slangtorch==1.2.2->-r requirements.txt (line 5)) (2.4.0) Collecting torchvision (from open_clip_torch==2.24.0->-r requirements.txt (line 6)) Using cached torchvision-0.19.0-cp310-cp310-manylinux1_x86_64.whl.metadata (6.0 kB) Collecting ftfy (from open_clip_torch==2.24.0->-r requirements.txt (line 6)) Using cached ftfy-6.2.3-py3-none-any.whl.metadata (7.8 kB) Collecting sentencepiece (from open_clip_torch==2.24.0->-r requirements.txt (line 6)) Using cached sentencepiece-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.7 kB) Collecting protobuf (from open_clip_torch==2.24.0->-r requirements.txt (line 6)) Using cached protobuf-5.27.3-cp38-abi3-manylinux2014_x86_64.whl.metadata (592 bytes) Collecting timm (from open_clip_torch==2.24.0->-r requirements.txt (line 6)) Using cached timm-1.0.8-py3-none-any.whl.metadata (53 kB) Requirement already satisfied: fsspec>=2023.5.0 in /mnt/TurboTux/AnacondaWorkspace/anaconda3/envs/fast3d/lib/python3.10/site-packages (from huggingface-hub==0.23.4->-r requirements.txt (line 9)) (2024.6.1) Requirement already satisfied: typing-extensions>=3.7.4.3 in /mnt/TurboTux/AnacondaWorkspace/anaconda3/envs/fast3d/lib/python3.10/site-packages (from huggingface-hub==0.23.4->-r requirements.txt (line 9)) (4.12.2) Collecting jsonschema (from rembg==2.0.57->rembg[gpu]==2.0.57->-r requirements.txt (line 10)) Using cached jsonschema-4.23.0-py3-none-any.whl.metadata (7.9 kB) Collecting onnxruntime (from rembg==2.0.57->rembg[gpu]==2.0.57->-r requirements.txt (line 10)) Using cached onnxruntime-1.18.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.metadata (4.3 kB) Collecting opencv-python-headless (from rembg==2.0.57->rembg[gpu]==2.0.57->-r requirements.txt (line 10)) Using cached opencv_python_headless-4.10.0.84-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (20 kB) Collecting pillow (from rembg==2.0.57->rembg[gpu]==2.0.57->-r requirements.txt (line 10)) Using cached pillow-10.4.0-cp310-cp310-manylinux_2_28_x86_64.whl.metadata (9.2 kB) Collecting pooch (from rembg==2.0.57->rembg[gpu]==2.0.57->-r requirements.txt (line 10)) Using cached pooch-1.8.2-py3-none-any.whl.metadata (10 kB) Collecting pymatting (from rembg==2.0.57->rembg[gpu]==2.0.57->-r requirements.txt (line 10)) Using cached PyMatting-1.1.12-py3-none-any.whl.metadata (7.4 kB) Collecting scikit-image (from rembg==2.0.57->rembg[gpu]==2.0.57->-r requirements.txt (line 10)) Using cached scikit_image-0.24.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (14 kB) Collecting scipy (from rembg==2.0.57->rembg[gpu]==2.0.57->-r requirements.txt (line 10)) Using cached scipy-1.14.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (60 kB) Collecting onnxruntime-gpu (from rembg[gpu]==2.0.57->-r requirements.txt (line 10)) Using cached onnxruntime_gpu-1.18.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.metadata (4.4 kB) Collecting pathspec>=0.10.1 (from hatchling>=1.11.0->slangtorch==1.2.2->-r requirements.txt (line 5)) Using cached pathspec-0.12.1-py3-none-any.whl.metadata (21 kB) Collecting pluggy>=1.0.0 (from hatchling>=1.11.0->slangtorch==1.2.2->-r requirements.txt (line 5)) Using cached pluggy-1.5.0-py3-none-any.whl.metadata (4.8 kB) Collecting tomli>=1.2.2 (from hatchling>=1.11.0->slangtorch==1.2.2->-r requirements.txt (line 5)) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting trove-classifiers (from hatchling>=1.11.0->slangtorch==1.2.2->-r requirements.txt (line 5)) Using cached trove_classifiers-2024.7.2-py3-none-any.whl.metadata (2.2 kB) Requirement already satisfied: sympy in /mnt/TurboTux/AnacondaWorkspace/anaconda3/envs/fast3d/lib/python3.10/site-packages (from torch>=1.1.0->slangtorch==1.2.2->-r requirements.txt (line 5)) (1.13.2) Requirement already satisfied: networkx in /mnt/TurboTux/AnacondaWorkspace/anaconda3/envs/fast3d/lib/python3.10/site-packages (from torch>=1.1.0->slangtorch==1.2.2->-r requirements.txt (line 5)) (3.3) Requirement already satisfied: jinja2 in /mnt/TurboTux/AnacondaWorkspace/anaconda3/envs/fast3d/lib/python3.10/site-packages (from torch>=1.1.0->slangtorch==1.2.2->-r requirements.txt (line 5)) (3.1.4) Requirement already satisfied: nvidia-cuda-nvrtc-cu12==12.1.105 in /mnt/TurboTux/AnacondaWorkspace/anaconda3/envs/fast3d/lib/python3.10/site-packages (from torch>=1.1.0->slangtorch==1.2.2->-r requirements.txt (line 5)) (12.1.105) Requirement already satisfied: nvidia-cuda-runtime-cu12==12.1.105 in /mnt/TurboTux/AnacondaWorkspace/anaconda3/envs/fast3d/lib/python3.10/site-packages (from torch>=1.1.0->slangtorch==1.2.2->-r requirements.txt (line 5)) (12.1.105) Requirement already satisfied: nvidia-cuda-cupti-cu12==12.1.105 in /mnt/TurboTux/AnacondaWorkspace/anaconda3/envs/fast3d/lib/python3.10/site-packages (from torch>=1.1.0->slangtorch==1.2.2->-r requirements.txt (line 5)) (12.1.105) Requirement already satisfied: nvidia-cudnn-cu12==9.1.0.70 in /mnt/TurboTux/AnacondaWorkspace/anaconda3/envs/fast3d/lib/python3.10/site-packages (from torch>=1.1.0->slangtorch==1.2.2->-r requirements.txt (line 5)) (9.1.0.70) Requirement already satisfied: nvidia-cublas-cu12==12.1.3.1 in /mnt/TurboTux/AnacondaWorkspace/anaconda3/envs/fast3d/lib/python3.10/site-packages (from torch>=1.1.0->slangtorch==1.2.2->-r requirements.txt (line 5)) (12.1.3.1) Requirement already satisfied: nvidia-cufft-cu12==11.0.2.54 in /mnt/TurboTux/AnacondaWorkspace/anaconda3/envs/fast3d/lib/python3.10/site-packages (from torch>=1.1.0->slangtorch==1.2.2->-r requirements.txt (line 5)) (11.0.2.54) Requirement already satisfied: nvidia-curand-cu12==10.3.2.106 in /mnt/TurboTux/AnacondaWorkspace/anaconda3/envs/fast3d/lib/python3.10/site-packages (from torch>=1.1.0->slangtorch==1.2.2->-r requirements.txt (line 5)) (10.3.2.106) Requirement already satisfied: nvidia-cusolver-cu12==11.4.5.107 in /mnt/TurboTux/AnacondaWorkspace/anaconda3/envs/fast3d/lib/python3.10/site-packages (from torch>=1.1.0->slangtorch==1.2.2->-r requirements.txt (line 5)) (11.4.5.107) Requirement already satisfied: nvidia-cusparse-cu12==12.1.0.106 in /mnt/TurboTux/AnacondaWorkspace/anaconda3/envs/fast3d/lib/python3.10/site-packages (from torch>=1.1.0->slangtorch==1.2.2->-r requirements.txt (line 5)) (12.1.0.106) Requirement already satisfied: nvidia-nccl-cu12==2.20.5 in /mnt/TurboTux/AnacondaWorkspace/anaconda3/envs/fast3d/lib/python3.10/site-packages (from torch>=1.1.0->slangtorch==1.2.2->-r requirements.txt (line 5)) (2.20.5) Requirement already satisfied: nvidia-nvtx-cu12==12.1.105 in /mnt/TurboTux/AnacondaWorkspace/anaconda3/envs/fast3d/lib/python3.10/site-packages (from torch>=1.1.0->slangtorch==1.2.2->-r requirements.txt (line 5)) (12.1.105) Requirement already satisfied: triton==3.0.0 in /mnt/TurboTux/AnacondaWorkspace/anaconda3/envs/fast3d/lib/python3.10/site-packages (from torch>=1.1.0->slangtorch==1.2.2->-r requirements.txt (line 5)) (3.0.0) Requirement already satisfied: nvidia-nvjitlink-cu12 in /mnt/TurboTux/AnacondaWorkspace/anaconda3/envs/fast3d/lib/python3.10/site-packages (from nvidia-cusolver-cu12==11.4.5.107->torch>=1.1.0->slangtorch==1.2.2->-r requirements.txt (line 5)) (12.6.20) Collecting wcwidth<0.3.0,>=0.2.12 (from ftfy->open_clip_torch==2.24.0->-r requirements.txt (line 6)) Using cached wcwidth-0.2.13-py2.py3-none-any.whl.metadata (14 kB) Collecting attrs>=22.2.0 (from jsonschema->rembg==2.0.57->rembg[gpu]==2.0.57->-r requirements.txt (line 10)) Using cached attrs-24.2.0-py3-none-any.whl.metadata (11 kB) Collecting jsonschema-specifications>=2023.03.6 (from jsonschema->rembg==2.0.57->rembg[gpu]==2.0.57->-r requirements.txt (line 10)) Using cached jsonschema_specifications-2023.12.1-py3-none-any.whl.metadata (3.0 kB) Collecting referencing>=0.28.4 (from jsonschema->rembg==2.0.57->rembg[gpu]==2.0.57->-r requirements.txt (line 10)) Using cached referencing-0.35.1-py3-none-any.whl.metadata (2.8 kB) Collecting rpds-py>=0.7.1 (from jsonschema->rembg==2.0.57->rembg[gpu]==2.0.57->-r requirements.txt (line 10)) Using cached rpds_py-0.20.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.2 kB) Collecting coloredlogs (from onnxruntime->rembg==2.0.57->rembg[gpu]==2.0.57->-r requirements.txt (line 10)) Using cached coloredlogs-15.0.1-py2.py3-none-any.whl.metadata (12 kB) Collecting flatbuffers (from onnxruntime->rembg==2.0.57->rembg[gpu]==2.0.57->-r requirements.txt (line 10)) Using cached flatbuffers-24.3.25-py2.py3-none-any.whl.metadata (850 bytes) Collecting platformdirs>=2.5.0 (from pooch->rembg==2.0.57->rembg[gpu]==2.0.57->-r requirements.txt (line 10)) Using cached platformdirs-4.2.2-py3-none-any.whl.metadata (11 kB) Collecting charset-normalizer<4,>=2 (from requests->transformers==4.42.3->-r requirements.txt (line 4)) Using cached charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB) Collecting idna<4,>=2.5 (from requests->transformers==4.42.3->-r requirements.txt (line 4)) Using cached idna-3.7-py3-none-any.whl.metadata (9.9 kB) Collecting urllib3<3,>=1.21.1 (from requests->transformers==4.42.3->-r requirements.txt (line 4)) Using cached urllib3-2.2.2-py3-none-any.whl.metadata (6.4 kB) Collecting certifi>=2017.4.17 (from requests->transformers==4.42.3->-r requirements.txt (line 4)) Using cached certifi-2024.7.4-py3-none-any.whl.metadata (2.2 kB) Collecting numba!=0.49.0 (from pymatting->rembg==2.0.57->rembg[gpu]==2.0.57->-r requirements.txt (line 10)) Using cached numba-0.60.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (2.7 kB) Collecting imageio>=2.33 (from scikit-image->rembg==2.0.57->rembg[gpu]==2.0.57->-r requirements.txt (line 10)) Using cached imageio-2.35.0-py3-none-any.whl.metadata (5.0 kB) Collecting tifffile>=2022.8.12 (from scikit-image->rembg==2.0.57->rembg[gpu]==2.0.57->-r requirements.txt (line 10)) Using cached tifffile-2024.8.10-py3-none-any.whl.metadata (31 kB) Collecting lazy-loader>=0.4 (from scikit-image->rembg==2.0.57->rembg[gpu]==2.0.57->-r requirements.txt (line 10)) Using cached lazy_loader-0.4-py3-none-any.whl.metadata (7.6 kB) Collecting llvmlite<0.44,>=0.43.0dev0 (from numba!=0.49.0->pymatting->rembg==2.0.57->rembg[gpu]==2.0.57->-r requirements.txt (line 10)) Using cached llvmlite-0.43.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.8 kB) Collecting humanfriendly>=9.1 (from coloredlogs->onnxruntime->rembg==2.0.57->rembg[gpu]==2.0.57->-r requirements.txt (line 10)) Using cached humanfriendly-10.0-py2.py3-none-any.whl.metadata (9.2 kB) Requirement already satisfied: MarkupSafe>=2.0 in /mnt/TurboTux/AnacondaWorkspace/anaconda3/envs/fast3d/lib/python3.10/site-packages (from jinja2->torch>=1.1.0->slangtorch==1.2.2->-r requirements.txt (line 5)) (2.1.5) Requirement already satisfied: mpmath<1.4,>=1.1.0 in /mnt/TurboTux/AnacondaWorkspace/anaconda3/envs/fast3d/lib/python3.10/site-packages (from sympy->torch>=1.1.0->slangtorch==1.2.2->-r requirements.txt (line 5)) (1.3.0) Using cached einops-0.7.0-py3-none-any.whl (44 kB) Using cached jaxtyping-0.2.31-py3-none-any.whl (41 kB) Using cached omegaconf-2.3.0-py3-none-any.whl (79 kB) Using cached transformers-4.42.3-py3-none-any.whl (9.3 MB) Using cached slangtorch-1.2.2-py3-none-any.whl (13.9 MB) Using cached open_clip_torch-2.24.0-py3-none-any.whl (1.5 MB) Using cached trimesh-4.4.1-py3-none-any.whl (694 kB) Using cached numpy-1.26.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB) Using cached huggingface_hub-0.23.4-py3-none-any.whl (402 kB) Using cached rembg-2.0.57-py3-none-any.whl (33 kB) Using cached gpytoolbox-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.1 MB) Using cached typeguard-2.13.3-py3-none-any.whl (17 kB) Using cached hatchling-1.25.0-py3-none-any.whl (84 kB) Using cached PyYAML-6.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (751 kB) Using cached regex-2024.7.24-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (776 kB) Using cached safetensors-0.4.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (435 kB) Using cached tokenizers-0.19.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB) Using cached tqdm-4.66.5-py3-none-any.whl (78 kB) Using cached ftfy-6.2.3-py3-none-any.whl (43 kB) Using cached jsonschema-4.23.0-py3-none-any.whl (88 kB) Using cached ninja-1.11.1.1-py2.py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.whl (307 kB) Using cached onnxruntime-1.18.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (6.8 MB) Using cached onnxruntime_gpu-1.18.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (200.8 MB) Using cached opencv_python_headless-4.10.0.84-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (49.9 MB) Using cached pillow-10.4.0-cp310-cp310-manylinux_2_28_x86_64.whl (4.5 MB) Using cached pooch-1.8.2-py3-none-any.whl (64 kB) Using cached requests-2.32.3-py3-none-any.whl (64 kB) Using cached protobuf-5.27.3-cp38-abi3-manylinux2014_x86_64.whl (309 kB) Using cached PyMatting-1.1.12-py3-none-any.whl (52 kB) Using cached scipy-1.14.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (41.1 MB) Using cached scikit_image-0.24.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.9 MB) Using cached sentencepiece-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB) Using cached timm-1.0.8-py3-none-any.whl (2.3 MB) Using cached torchvision-0.19.0-cp310-cp310-manylinux1_x86_64.whl (7.0 MB) Using cached attrs-24.2.0-py3-none-any.whl (63 kB) Using cached certifi-2024.7.4-py3-none-any.whl (162 kB) Using cached charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB) Using cached idna-3.7-py3-none-any.whl (66 kB) Using cached imageio-2.35.0-py3-none-any.whl (315 kB) Using cached jsonschema_specifications-2023.12.1-py3-none-any.whl (18 kB) Using cached lazy_loader-0.4-py3-none-any.whl (12 kB) Using cached numba-0.60.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (3.7 MB) Using cached pathspec-0.12.1-py3-none-any.whl (31 kB) Using cached platformdirs-4.2.2-py3-none-any.whl (18 kB) Using cached pluggy-1.5.0-py3-none-any.whl (20 kB) Using cached referencing-0.35.1-py3-none-any.whl (26 kB) Using cached rpds_py-0.20.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (354 kB) Using cached tifffile-2024.8.10-py3-none-any.whl (225 kB) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Using cached urllib3-2.2.2-py3-none-any.whl (121 kB) Using cached wcwidth-0.2.13-py2.py3-none-any.whl (34 kB) Using cached coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB) Using cached flatbuffers-24.3.25-py2.py3-none-any.whl (26 kB) Using cached trove_classifiers-2024.7.2-py3-none-any.whl (13 kB) Using cached humanfriendly-10.0-py2.py3-none-any.whl (86 kB) Using cached llvmlite-0.43.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (43.9 MB) Building wheels for collected packages: pynim Building wheel for pynim (pyproject.toml) ... error error: subprocess-exited-with-error× Building wheel for pynim (pyproject.toml) did not run successfully.
note: This error originates from a subprocess, and is likely not a problem with pip.
|
Sounds like gcc 14.2 wasn't able to compile tbb. I'm not sure why tbh. This version of GCC just came out a couple weeks ago. Perhaps try an older GCC version? My machine seems to be using GCC 11.4. |
@Limbicnation hmm there might be one solution. Can you try changing this line to change the declaration from |
@jammm Thanks for your effort, but unfortunately, I’m still facing the issue. 😕 Could you please share more details about your environment setup? |
I'm using GCC 11.4 and Ubuntu 22.04 on WSL. |
@Limbicnation are you sure it's using the PyNanoInstantMeshes you modified with the above change and not re-downloading the one from github? |
@jammm I attempted to modify line 252 in task.h: |
You have to manually reinstall pynim by going into the PyNanoInstantMeshes folder which you modified and doing |
@jammm Okay thanks, I set up a new conda environment with:
and installed it with:
Now I'm getting this error:
Not compatible with the current CUDA version? 😅 I'd really appreciate it if I could get this software installed and tested on my machine. 🙂 |
Well, unfortunately that sounds like CUDA 12.1 is restricting anyone from compiling its headers with GCC versions 12 or above. The right solution would be to use GCC 11.x or below. Otherwise you may have to modify slangtorch itself to force it to include |
@jammm Thanks for the info! I tried but had no success. I'll wait for any easier solution or update. |
I'm not entirely sure what exactly solved the issue, but I did a clean conda environment install with Python 3.10.
and then I did: Install an Older Version of GCC
Create a Soft Link for GCC 11.4:
|
Glad it worked for you :) |
|
I tried all the stuff that was mentioned here but I still have an issue where my server runs out of memory when building the wheel for Pynim. The 120GB slowly fill up until the server crashes and I highly doubt it takes that much memory. Any idea why that might happen? I'm running this in the newest Pytorch CUDA Docker container on a Debian 12 Bookworm host. |
I started to create pre-build binaries for the package. Check the commit. You now just have to do |
Thanks, it works now |
Not able to build the wheel for pynim,
Python 3.11.0
Win 11 64
Torch 2.4
CUDA 12.4
The text was updated successfully, but these errors were encountered: