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

Call to setuptools.build_meta:__legacy__.build_wheel failed (exit code: 1) #881

Open
Akarity opened this issue Jan 11, 2025 · 0 comments
Open

Comments

@Akarity
Copy link

Akarity commented Jan 11, 2025

Updated to Pinokio-3.2.0-win32.zip
Run install for Trellis return Error:

Microsoft Windows [Version 10.0.22621.4317]
(c) Microsoft Corporation. All rights reserved.

F:\Ati_Ai\Pinokio-2.15.1\api\TRELLIS.git\app>conda_hook && conda deactivate && conda deactivate && conda deactivate && conda activate base && F:\Ati_Ai\Pinokio-2.15.1\api\TRELLIS.git\app\env\Scripts\activate F:\Ati_Ai\Pinokio-2.15.1\api\TRELLIS.git\app\env && uv pip install -r ../requirements.txt
Using Python 3.10.15 environment at: env
Updated https://github.com/JeffreyXiang/diffoctreerast.git (b09c20b)
Updated https://github.com/NVlabs/nvdiffrast.git (729261d)
Updating https://github.com/sdbds/diff-gaussian-rasterization (HEAD)
⠇ Resolving dependencies...
error: The build backend returned an error
Caused by: Call to setuptools.build_meta:__legacy__.build_wheel failed (exit code: 1)

[stderr]
Traceback (most recent call last):
File "", line 14, in
File "C:\Users\plasm\AppData\Local\uv\cache\builds-v0.tmpLNaoQi\lib\site-packages\setuptools\build_meta.py", line 334, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
File "C:\Users\plasm\AppData\Local\uv\cache\builds-v0.tmpLNaoQi\lib\site-packages\setuptools\build_meta.py", line 304, in _get_build_requires
self.run_setup()
File "C:\Users\plasm\AppData\Local\uv\cache\builds-v0.tmpLNaoQi\lib\site-packages\setuptools\build_meta.py", line 522, in run_setup
super().run_setup(setup_script=setup_script)
File "C:\Users\plasm\AppData\Local\uv\cache\builds-v0.tmpLNaoQi\lib\site-packages\setuptools\build_meta.py", line 320, in run_setup
exec(code, locals())
File "", line 2, in
ModuleNotFoundError: No module named 'torch'

hint: This error likely indicates that git+https://github.com/JeffreyXiang/diffoctreerast.git depends on torch, but doesn't declare it as a build dependency. If git+https://github.com/JeffreyXiang/diffoctreerast.git is a first-party package, consider adding torch to its build-system.requires. Otherwise, uv pip install torch into the environment and re-run with --no-build-isolation.

(env) (base) F:\Ati_Ai\Pinokio-2.15.1\api\TRELLIS.git\app>

image

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

1 participant