Skip to content

ERROR: Failed building wheel for texture_baker #86

Description

@homie001

Dear Author, I have been troubled by this question for a long time. Could I ask for some advice?:

Building wheels for collected packages: texture_baker, uv_unwrapper
DEPRECATION: Building 'texture_baker' using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the --use-pep517 option, (possibly combined with --no-build-isolation), or adding a pyproject.toml file to the source tree of 'texture_baker'. Discussion can be found at pypa/pip#6334
Building wheel for texture_baker (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [53 lines of output]
[<setuptools.extension.Extension('texture_baker.C') at 0x138f174ed00>]
running bdist_wheel
running build
running build_py
creating build\lib.win32-cpython-39\texture_baker
copying .\texture_baker\baker.py -> build\lib.win32-cpython-39\texture_baker
copying .\texture_baker_init
.py -> build\lib.win32-cpython-39\texture_baker
creating build\lib.win32-cpython-39\texture_baker\csrc
copying .\texture_baker\csrc\baker.h -> build\lib.win32-cpython-39\texture_baker\csrc
copying .\texture_baker\csrc\baker_kernel.metal -> build\lib.win32-cpython-39\texture_baker\csrc
running build_ext
Traceback (most recent call last):
File "", line 2, in
File "", line 35, in
File "C:\Users\admin\Source\Repos\stable-fast-3d\texture_baker\setup.py", line 117, in
setup(
File "D:\anaconda3\envs\SF3D\lib\site-packages\setuptools_init_.py", line 115, in setup
return distutils.core.setup(**attrs)
File "D:\anaconda3\envs\SF3D\lib\site-packages\setuptools_distutils\core.py", line 186, in setup
return run_commands(dist)
File "D:\anaconda3\envs\SF3D\lib\site-packages\setuptools_distutils\core.py", line 202, in run_commands
dist.run_commands()
File "D:\anaconda3\envs\SF3D\lib\site-packages\setuptools_distutils\dist.py", line 1002, in run_commands
self.run_command(cmd)
File "D:\anaconda3\envs\SF3D\lib\site-packages\setuptools\dist.py", line 1102, in run_command
super().run_command(command)
File "D:\anaconda3\envs\SF3D\lib\site-packages\setuptools_distutils\dist.py", line 1021, in run_command
cmd_obj.run()
File "D:\anaconda3\envs\SF3D\lib\site-packages\setuptools\command\bdist_wheel.py", line 370, in run
self.run_command("build")
File "D:\anaconda3\envs\SF3D\lib\site-packages\setuptools_distutils\cmd.py", line 357, in run_command
self.distribution.run_command(command)
File "D:\anaconda3\envs\SF3D\lib\site-packages\setuptools\dist.py", line 1102, in run_command
super().run_command(command)
File "D:\anaconda3\envs\SF3D\lib\site-packages\setuptools_distutils\dist.py", line 1021, in run_command
cmd_obj.run()
File "D:\anaconda3\envs\SF3D\lib\site-packages\setuptools_distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "D:\anaconda3\envs\SF3D\lib\site-packages\setuptools_distutils\cmd.py", line 357, in run_command
self.distribution.run_command(command)
File "D:\anaconda3\envs\SF3D\lib\site-packages\setuptools\dist.py", line 1102, in run_command
super().run_command(command)
File "D:\anaconda3\envs\SF3D\lib\site-packages\setuptools_distutils\dist.py", line 1021, in run_command
cmd_obj.run()
File "D:\anaconda3\envs\SF3D\lib\site-packages\setuptools\command\build_ext.py", line 96, in run
_build_ext.run(self)
File "D:\anaconda3\envs\SF3D\lib\site-packages\setuptools_distutils\command\build_ext.py", line 368, in run
self.build_extensions()
File "D:\anaconda3\envs\SF3D\lib\site-packages\torch\utils\cpp_extension.py", line 506, in build_extensions
compiler_name, compiler_version = self._check_abi()
File "D:\anaconda3\envs\SF3D\lib\site-packages\torch\utils\cpp_extension.py", line 898, in _check_abi
raise UserWarning(msg)
UserWarning: It seems that the VC environment is activated but DISTUTILS_USE_SDK is not set.This may lead to multiple activations of the VC env.Please set DISTUTILS_USE_SDK=1 and try again.
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for texture_baker

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions