質問するログイン新規登録

質問編集履歴

3

補足情報を折り畳み

2026/03/27 07:17

投稿

magma189
magma189

スコア4

title CHANGED
File without changes
body CHANGED
@@ -127,6 +127,7 @@
127
127
  [unable to build wheel for gpytoolbox #54](https://github.com/Stability-AI/stable-fast-3d/issues/54)
128
128
 
129
129
  ### 補足
130
+ ```
130
131
  ■インストール環境は以下です
131
132
  ・PC本体:
132
133
  Visual Studio:
@@ -214,4 +215,5 @@
214
215
  typing-inspection 0.4.2
215
216
  urllib3 2.6.3
216
217
  wget 3.2
217
- wheel 0.46.3
218
+ wheel 0.46.3
219
+ ```

2

環境が変化したため、エラーメッセージを入れ替え

2026/03/27 07:16

投稿

magma189
magma189

スコア4

title CHANGED
File without changes
body CHANGED
@@ -4,17 +4,86 @@
4
4
  似た現象をご存じの方、原因調査方法をご存じの方、おられましたら助力願います。
5
5
 
6
6
  ### 発生している問題・分からないこと
7
- 実行コマンド pip install -r requirements3.txt
7
+ pip install -vvv --log install.log --no-build-isolation -r requirements3.txt
8
8
 
9
9
  ### エラーメッセージ
10
10
  ```error
11
- error: command 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.8\\bin\\nvcc.exe' failed with exit code 2
11
+ C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.8/include\cuda/std/detail/libcxx/include/cmath(1032): warning #221-D: floating-point value does not fit in required floating-point type
12
- [end of output]
12
+ if (__r >= ::nextafter(static_cast<_RealT>(_MaxVal), ((float)(1e+300))))
13
+ ^
13
14
 
15
+ Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
16
+
17
+ baker_kernel.cu
18
+ tmpxft_00002f98_00000000-7_baker_kernel.cudafe1.cpp
19
+ D:/SPAW3D/venv/lib/site-packages/torch/include\torch/csrc/dynamo/compiled_autograd.h(1143): error C2872: 'std': あいまいなシンボルです。
20
+ C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/include\valarray(20): note: 'std' である可能性があります。
21
+ D:/SPAW3D/venv/lib/site-packages/torch/include\torch/csrc/dynamo/compiled_autograd.h(1143): note: または 'std'
22
+ D:/SPAW3D/venv/lib/site-packages/torch/include\torch/csrc/dynamo/compiled_autograd.h(1143): note: テンプレートインスタンス化コンテキスト (最初に最も古いもの) は
23
+ D:/SPAW3D/venv/lib/site-packages/torch/include\torch/csrc/dynamo/compiled_autograd.h(1190): note: コンパイル対象の クラス テンプレート インスタンス化 'torch::dynamo::autograd::IValuePacker<__int64>' のリファレンスを確認してください
24
+ D:/SPAW3D/venv/lib/site-packages/torch/include\torch/csrc/dynamo/compiled_autograd.h(1117): note: クラス テンプレート メンバー関数 'c10::TypePtr torch::dynamo::autograd::IValuePacker<__int64>::packed_type(void)' のコンパイル中
25
+ D:/SPAW3D/venv/lib/site-packages/torch/include\torch/csrc/dynamo/compiled_autograd.h(1190): note: 'torch::dynamo::autograd::IValuePacker<unsigned __int64>::packed_type' の 'torch::dynamo::autograd::IValuePacker<__int64>::packed_type' への最初の参照を参照してください
26
+ error: command 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.8\\bin\\nvcc.exe' failed with exit code 2
27
+ error: subprocess-exited-with-error
28
+
29
+ × python setup.py bdist_wheel did not run successfully.
30
+ │ exit code: 1
31
+ ╰─> See above for output.
32
+
14
33
  note: This error originates from a subprocess, and is likely not a problem with pip.
34
+ full command: 'D:\SPAW3D\venv\Scripts\python.exe' -u -c '
35
+ exec(compile('"'"''"'"''"'"'
36
+ # This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py
37
+ #
38
+ # - It imports setuptools before invoking setup.py, to enable projects that directly
39
+ # import from `distutils.core` to work with newer packaging standards.
40
+ # - It provides a clear error message when setuptools is not installed.
41
+ # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so
42
+ # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning:
43
+ # manifest_maker: standard file '"'"'-c'"'"' not found".
44
+ # - It generates a shim setup.py, for handling setup.cfg-only projects.
45
+ import os, sys, tokenize, traceback
46
+
47
+ try:
48
+ import setuptools
49
+ except ImportError:
50
+ print(
51
+ "ERROR: Can not execute `setup.py` since setuptools failed to import in "
52
+ "the build environment with exception:",
53
+ file=sys.stderr,
54
+ )
55
+ traceback.print_exc()
56
+ sys.exit(1)
57
+
58
+ __file__ = %r
59
+ sys.argv[0] = __file__
60
+
61
+ if os.path.exists(__file__):
62
+ filename = __file__
63
+ with tokenize.open(__file__) as f:
64
+ setup_py_code = f.read()
65
+ else:
66
+ filename = "<auto-generated setuptools caller>"
67
+ setup_py_code = "from setuptools import setup; setup()"
68
+
69
+ exec(compile(setup_py_code, filename, "exec"))
70
+ '"'"''"'"''"'"' % ('"'"'D:\\SPAW3D\\stable-point-aware-3d\\texture_baker\\setup.py'"'"',), "<pip-setuptools-caller>", "exec"))' bdist_wheel -d 'C:\temp\pip-wheel-y_45syxq'
71
+ cwd: D:\SPAW3D\stable-point-aware-3d\texture_baker\\
72
+ error
15
73
  ERROR: Failed building wheel for texture_baker
16
74
  Running setup.py clean for texture_baker
75
+ Running command python setup.py clean
76
+ [<setuptools.extension.Extension('texture_baker._C') at 0x16006639ea0>]
77
+ running clean
78
+ removing 'build\temp.win-amd64-cpython-310' (and everything under it)
79
+ removing 'build\lib.win-amd64-cpython-310' (and everything under it)
80
+ 'build\bdist.win-amd64' does not exist -- can't clean it
81
+ 'build\scripts-3.10' does not exist -- can't clean it
82
+ removing 'build'
17
83
  Failed to build texture_baker
84
+ Remote version of pip: 26.0.1
85
+ Local version of pip: 25.2
86
+ Was pip installed by pip? True
18
87
 
19
88
  [notice] A new release of pip is available: 25.2 -> 26.0.1
20
89
  [notice] To update, run: python.exe -m pip install --upgrade pip
@@ -22,12 +91,24 @@
22
91
 
23
92
  × Failed to build installable wheels for some pyproject.toml based projects
24
93
  ╰─> texture_baker
94
+ Exception information:
95
+ Traceback (most recent call last):
96
+ File "D:\SPAW3D\venv\lib\site-packages\pip\_internal\cli\base_command.py", line 107, in _run_wrapper
97
+ status = _inner_run()
98
+ File "D:\SPAW3D\venv\lib\site-packages\pip\_internal\cli\base_command.py", line 98, in _inner_run
99
+ return self.run(options, args)
100
+ File "D:\SPAW3D\venv\lib\site-packages\pip\_internal\cli\req_command.py", line 71, in wrapper
101
+ return func(self, options, args)
102
+ File "D:\SPAW3D\venv\lib\site-packages\pip\_internal\commands\install.py", line 442, in run
103
+ raise InstallWheelBuildError(build_failures)
104
+ pip._internal.exceptions.InstallWheelBuildError: <InstallWheelBuildError: failed-wheel-build-for-install>
105
+ Removed build tracker: 'C:\\temp\\pip-build-tracker-rrklnvk_'
25
106
  ```
26
107
 
27
108
  ### 該当のソースコード
28
109
 
29
110
  ```
30
- requirements3.txt →NG
111
+ requirement.txt
31
112
  ./texture_baker/
32
113
  ```
33
114
 
@@ -38,12 +119,9 @@
38
119
  - [ ] その他
39
120
 
40
121
  ##### 上記の詳細・結果
41
- [ Want to contribute to Stability-AI/stable-point-aware-3d?](https://github.com/Stability-AI/stable-point-aware-3d/issues)
42
122
  [An error about the “texture_baker” #38](https://github.com/Stability-AI/stable-point-aware-3d/issues/38)
43
123
  stable-point-aware-3dはStability-AI 社のstable-fast-3dの後継プロダクトなので、似たIssueがあります。
44
124
  しかし、それらは今回の問題の解決に至っていません。
45
- [Want to contribute to Stability-AI/stable-fast-3d?](https://github.com/Stability-AI/stable-fast-3d/issues)
46
-
47
125
  [Could not run 'texture_baker_cpp::rasterize' with arguments from the 'CUDA' backend. #39](https://github.com/Stability-AI/stable-fast-3d/issues/39)
48
126
  [An error about the “texture_baker” #79](https://github.com/Stability-AI/stable-fast-3d/issues/79)
49
127
  [unable to build wheel for gpytoolbox #54](https://github.com/Stability-AI/stable-fast-3d/issues/54)
@@ -52,8 +130,8 @@
52
130
  ■インストール環境は以下です
53
131
  ・PC本体:
54
132
  Visual Studio:
55
- 2019 C++によるデスクトップ開発(詳細すべて)
133
+ 2019 C++によるデスクトップ開発
56
- 2022 C++によるデスクトップ開発(詳細すべて)
134
+ 2022 C++によるデスクトップ開発
57
135
  Python:python --version
58
136
  Python 3.10.11 他に3.14 3.12あり
59
137
  CUDA Toolkit:nvcc --version
@@ -67,70 +145,73 @@
67
145
  Build cuda_12.8.r12.8/compiler.35404655_0
68
146
  pip list(エラー直後):
69
147
  Package Version
70
- ---------------------- ------------
71
- alpha_clip 1.0
148
+ albucore 0.0.16
149
+ albumentations 1.4.15
150
+ annotated-types 0.7.0
72
151
  antlr4-python3-runtime 4.9.3
152
+ anyio 4.13.0
153
+ beautifulsoup4 4.14.3
73
154
  certifi 2026.2.25
74
155
  charset-normalizer 3.4.6
75
- clip 1.0
76
156
  colorama 0.4.6
157
+ easydict 1.13
77
158
  einops 0.7.0
159
+ eval_type_backport 0.3.1
160
+ exceptiongroup 1.3.1
78
161
  filelock 3.25.2
162
+ flet 0.83.0
79
163
  fsspec 2026.2.0
164
+ gdown 5.2.1
165
+ h11 0.16.0
166
+ httpcore 1.0.9
80
- ftfy 6.3.1
167
+ httpx 0.28.1
81
- huggingface_hub 0.36.2
168
+ huggingface-hub 0.23.4
82
169
  idna 3.11
170
+ ImageIO 2.37.3
83
171
  jaxtyping 0.2.31
84
172
  Jinja2 3.1.6
173
+ kornia 0.8.2
174
+ kornia_rs 0.1.10
175
+ lazy-loader 0.5
85
176
  loralib 0.1.2
86
177
  MarkupSafe 3.0.2
87
178
  mpmath 1.3.0
179
+ msgpack 1.1.2
88
180
  networkx 3.4.2
89
181
  numpy 1.26.4
182
+ oauthlib 3.3.1
90
183
  omegaconf 2.3.0
184
+ opencv-python 4.11.0.86
185
+ opencv-python-headless 4.11.0.86
91
186
  packaging 26.0
92
187
  pillow 12.1.1
93
188
  pip 25.2
189
+ pydantic 2.12.5
190
+ pydantic_core 2.41.5
191
+ PySocks 1.7.1
94
192
  PyYAML 6.0.3
95
193
  regex 2026.2.28
194
+ repath 0.9.0
96
195
  requests 2.33.0
97
196
  safetensors 0.7.0
197
+ scikit-image 0.25.2
198
+ scipy 1.15.3
98
199
  setuptools 69.5.1
200
+ six 1.17.0
201
+ soupsieve 2.8.3
99
202
  sympy 1.14.0
203
+ tifffile 2025.5.10
204
+ timm 1.0.26
100
205
  tokenizers 0.19.1
101
206
  torch 2.11.0+cu128
102
207
  torchvision 0.26.0+cu128
103
208
  tqdm 4.67.3
104
209
  transformers 4.42.3
210
+ transparent-background 1.3.3
211
+ trimesh 4.4.1
105
212
  typeguard 2.13.3
106
213
  typing_extensions 4.15.0
214
+ typing-inspection 0.4.2
107
215
  urllib3 2.6.3
108
- wcwidth 0.6.0
216
+ wget 3.2
109
- wheel 0.46.3
217
+ wheel 0.46.3
110
-
111
- ■元のrequirements.txtを以下に分割して実行しました
112
- requirements1.txt →OK
113
- einops==0.7.0
114
- jaxtyping==0.2.31
115
- omegaconf==2.3.0
116
- transformers==4.42.3
117
- loralib==0.1.2
118
- requirements.txtから除外し別途適用 →OK
119
- git+https://github.com/openai/CLIP.git
120
- git+https://github.com/SunzeY/AlphaCLIP.git
121
- requirements2.txt →OK
122
- trimesh==4.4.1
123
- numpy==1.26.4
124
- huggingface-hub==0.23.4
125
- transparent-background==1.3.3
126
- requirements3.txt →NG
127
- ./texture_baker/
128
- requirements4.txt →未着手
129
- ./uv_unwrapper/
130
-
131
- pip install --no-build-isolation -r requirements1.txt
132
- pip install git+https://github.com/openai/CLIP.git --no-build-isolation
133
- pip install git+https://github.com/SunzeY/AlphaCLIP.git --no-build-isolation
134
- pip install --no-build-isolation -r requirements2.txt
135
- pip install --no-build-isolation -r requirements3.txt →NG
136
- pip install --no-build-isolation -r requirements4.txt →未実行

1

実行したrequirements.txtの詳細内容を追記した

2026/03/26 03:56

投稿

magma189
magma189

スコア4

title CHANGED
File without changes
body CHANGED
@@ -107,3 +107,30 @@
107
107
  urllib3 2.6.3
108
108
  wcwidth 0.6.0
109
109
  wheel 0.46.3
110
+
111
+ ■元のrequirements.txtを以下に分割して実行しました
112
+ requirements1.txt →OK
113
+ einops==0.7.0
114
+ jaxtyping==0.2.31
115
+ omegaconf==2.3.0
116
+ transformers==4.42.3
117
+ loralib==0.1.2
118
+ requirements.txtから除外し別途適用 →OK
119
+ git+https://github.com/openai/CLIP.git
120
+ git+https://github.com/SunzeY/AlphaCLIP.git
121
+ requirements2.txt →OK
122
+ trimesh==4.4.1
123
+ numpy==1.26.4
124
+ huggingface-hub==0.23.4
125
+ transparent-background==1.3.3
126
+ requirements3.txt →NG
127
+ ./texture_baker/
128
+ requirements4.txt →未着手
129
+ ./uv_unwrapper/
130
+
131
+ pip install --no-build-isolation -r requirements1.txt
132
+ pip install git+https://github.com/openai/CLIP.git --no-build-isolation
133
+ pip install git+https://github.com/SunzeY/AlphaCLIP.git --no-build-isolation
134
+ pip install --no-build-isolation -r requirements2.txt
135
+ pip install --no-build-isolation -r requirements3.txt →NG
136
+ pip install --no-build-isolation -r requirements4.txt →未実行