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

Installation failed #8

Open
Tobe2d opened this issue Jan 4, 2025 · 11 comments
Open

Installation failed #8

Tobe2d opened this issue Jan 4, 2025 · 11 comments
Labels
bug Something isn't working

Comments

@Tobe2d
Copy link

Tobe2d commented Jan 4, 2025

Trying to install using 3.2.13

Once the install start it get to this point and show this error:

 Start  View File
 (2/3) shell.run
{"venv":"env","path":"app","message":["uv pip install -U setuptools wheel ninja","uv pip install -U xformers torch==2.5.1 torchvision --index-url https://download.pytorch.org/whl/cu124","uv pip install -r ../requirements.txt","uv pip install huggingface_hub hf_transfer"]}
ERROR
Microsoft Windows [Version 10.0.22631.4602]
(c) Microsoft Corporation. All rights reserved.

E:\Ai__Project\pinokio\api\TRELLIS.git\app>conda_hook && conda deactivate && conda deactivate && conda deactivate && conda activate base && E:\Ai__Project\pinokio\api\TRELLIS.git\app\env\Scripts\activate E:\Ai__Project\pinokio\api\TRELLIS.git\app\env && uv pip install -r ../requirements.txt
error: Expected `--hash`, found `"--no-build-isolation"` at ../requirements.txt:28:56

(env) (base) E:\Ai__Project\pinokio\api\TRELLIS.git\app>

What am I missing?

@Deathdadev
Copy link
Collaborator

This error was a mistake on my behalf. I have fixed this issue right now, so please update your installation and try again.
Fixed in this commit

@Tobe2d
Copy link
Author

Tobe2d commented Jan 5, 2025

now it show another errors

 Start  View File
 (4/5) shell.run
{"venv":"env","path":"app","message":["uv pip install -r ../requirements.txt","uv pip install huggingface_hub hf_transfer"]}
ERROR
Microsoft Windows [Version 10.0.22631.4602]
(c) Microsoft Corporation. All rights reserved.

E:\Ai__Project\pinokio\api\TRELLIS.git\app>conda_hook && conda deactivate && conda deactivate && conda deactivate && conda activate base && E:\Ai__Project\pinokio\api\TRELLIS.git\app\env\Scripts\activate E:\Ai__Project\pinokio\api\TRELLIS.git\app\env && uv pip install -r ../requirements.txt
Using Python 3.10.13 environment at: env
Updating https://github.com/sdbds/diff-gaussian-rasterization (HEAD)
 Updated https://github.com/JeffreyXiang/diffoctreerast.git (b09c20b)
 Updated https://github.com/NVlabs/nvdiffrast.git (729261d)
⠇ 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 "<string>", line 14, in <module>
  File "C:\Users\ammar\AppData\Local\uv\cache\builds-v0\.tmpSMrLjm\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\ammar\AppData\Local\uv\cache\builds-v0\.tmpSMrLjm\lib\site-packages\setuptools\build_meta.py", line 304, in _get_build_requires
    self.run_setup()
  File "C:\Users\ammar\AppData\Local\uv\cache\builds-v0\.tmpSMrLjm\lib\site-packages\setuptools\build_meta.py", line 522, in run_setup
    super().run_setup(setup_script=setup_script)
  File "C:\Users\ammar\AppData\Local\uv\cache\builds-v0\.tmpSMrLjm\lib\site-packages\setuptools\build_meta.py", line 320, in run_setup
    exec(code, locals())
  File "<string>", line 2, in <module>
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) E:\Ai__Project\pinokio\api\TRELLIS.git\app>

@m4iccc
Copy link

m4iccc commented Jan 5, 2025

I'm getting this too...

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

C:\pinokio\api\TRELLIS.git\app>conda_hook && conda deactivate && conda deactivate && conda deactivate && conda activate base && C:\pinokio\api\TRELLIS.git\app\env\Scripts\activate C:\pinokio\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/EasternJournalist/utils3d.git (9a4eb15)
Updated https://github.com/NVlabs/nvdiffrast.git (729261d)
Updating https://github.com/sdbds/diff-gaussian-rasterization (HEAD) 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\Cinem\AppData\Local\uv\cache\builds-v0.tmp7p7frF\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\Cinem\AppData\Local\uv\cache\builds-v0.tmp7p7frF\lib\site-packages\setuptools\build_meta.py", line 304, in _get_build_requires
self.run_setup()
File "C:\Users\Cinem\AppData\Local\uv\cache\builds-v0.tmp7p7frF\lib\site-packages\setuptools\build_meta.py", line 522, in run_setup
super().run_setup(setup_script=setup_script)
File "C:\Users\Cinem\AppData\Local\uv\cache\builds-v0.tmp7p7frF\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) C:\pinokio\api\TRELLIS.git\app>

@Deathdadev
Copy link
Collaborator

Hey guys I really do appreciate your patience. This was a mistake on my part and should be fixed: b3ded99
Please update and try again

@Deathdadev
Copy link
Collaborator

now it show another errors

 Start  View File
 (4/5) shell.run
{"venv":"env","path":"app","message":["uv pip install -r ../requirements.txt","uv pip install huggingface_hub hf_transfer"]}
ERROR
Microsoft Windows [Version 10.0.22631.4602]
(c) Microsoft Corporation. All rights reserved.

E:\Ai__Project\pinokio\api\TRELLIS.git\app>conda_hook && conda deactivate && conda deactivate && conda deactivate && conda activate base && E:\Ai__Project\pinokio\api\TRELLIS.git\app\env\Scripts\activate E:\Ai__Project\pinokio\api\TRELLIS.git\app\env && uv pip install -r ../requirements.txt
Using Python 3.10.13 environment at: env
Updating https://github.com/sdbds/diff-gaussian-rasterization (HEAD)
 Updated https://github.com/JeffreyXiang/diffoctreerast.git (b09c20b)
 Updated https://github.com/NVlabs/nvdiffrast.git (729261d)
⠇ 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 "<string>", line 14, in <module>
  File "C:\Users\ammar\AppData\Local\uv\cache\builds-v0\.tmpSMrLjm\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\ammar\AppData\Local\uv\cache\builds-v0\.tmpSMrLjm\lib\site-packages\setuptools\build_meta.py", line 304, in _get_build_requires
    self.run_setup()
  File "C:\Users\ammar\AppData\Local\uv\cache\builds-v0\.tmpSMrLjm\lib\site-packages\setuptools\build_meta.py", line 522, in run_setup
    super().run_setup(setup_script=setup_script)
  File "C:\Users\ammar\AppData\Local\uv\cache\builds-v0\.tmpSMrLjm\lib\site-packages\setuptools\build_meta.py", line 320, in run_setup
    exec(code, locals())
  File "<string>", line 2, in <module>
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) E:\Ai__Project\pinokio\api\TRELLIS.git\app>

This one however is something I need to work on. I do not have a linux computer so I cannot really test these things out before releases, so I appreciate your patience

@DraycD
Copy link

DraycD commented Jan 14, 2025

Same here with Windows 11:

Microsoft Windows [Version 10.0.22631.4602]
(c) Microsoft Corporation. Alle Rechte vorbehalten.

G:\AI\pinokio\api\TRELLIS.git\app>conda_hook && conda deactivate && conda deactivate && conda deactivate && conda activate base && G:\AI\pinokio\api\TRELLIS.git\app\env\Scripts\activate G:\AI\pinokio\api\TRELLIS.git\app\env && uv pip install -r ../requirements.txt
Using Python 3.10.16 environment at: env
Updating https://github.com/sdbds/diff-gaussian-rasterization (HEAD)
Updated https://github.com/NVlabs/nvdiffrast.git (729261d)
Updated https://github.com/JeffreyXiang/diffoctreerast.git (b09c20b)
⠧ 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\GameServer\AppData\Local\uv\cache\builds-v0.tmpxFzpXq\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\GameServer\AppData\Local\uv\cache\builds-v0.tmpxFzpXq\lib\site-packages\setuptools\build_meta.py", line 304, in _get_build_requires
self.run_setup()
File "C:\Users\GameServer\AppData\Local\uv\cache\builds-v0.tmpxFzpXq\lib\site-packages\setuptools\build_meta.py", line 522, in run_setup
super().run_setup(setup_script=setup_script)
File "C:\Users\GameServer\AppData\Local\uv\cache\builds-v0.tmpxFzpXq\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) G:\AI\pinokio\api\TRELLIS.git\app>

@ahmetisinn
Copy link

Microsoft Windows [Version 10.0.22621.4602]
(c) Microsoft Corporation. Tüm hakları saklıdır.

C:\pinokio\bin>conda_hook && conda deactivate && conda deactivate && conda deactivate && conda activate base && conda install -y -c conda-forge uv
Error while loading conda entry point: conda-libmamba-solver (module 'libmambapy' has no attribute 'QueryFormat')
Error while loading conda entry point: conda-libmamba-solver (module 'libmambapy' has no attribute 'QueryFormat')
Error while loading conda entry point: conda-libmamba-solver (module 'libmambapy' has no attribute 'QueryFormat')
Error while loading conda entry point: conda-libmamba-solver (module 'libmambapy' has no attribute 'QueryFormat')
Error while loading conda entry point: conda-libmamba-solver (module 'libmambapy' has no attribute 'QueryFormat')

CondaValueError: You have chosen a non-default solver backend (libmamba) but it was not recognized. Choose one of: classic

(base) C:\pinokio\bin>

@ahmetisinn
Copy link

Image

@Fox-Int
Copy link

Fox-Int commented Jan 21, 2025

Same here with Windows 11:

Microsoft Windows [Version 10.0.22631.4602] (c) Microsoft Corporation. Alle Rechte vorbehalten.

G:\AI\pinokio\api\TRELLIS.git\app>conda_hook && conda deactivate && conda deactivate && conda deactivate && conda activate base && G:\AI\pinokio\api\TRELLIS.git\app\env\Scripts\activate G:\AI\pinokio\api\TRELLIS.git\app\env && uv pip install -r ../requirements.txt Using Python 3.10.16 environment at: env Updating https://github.com/sdbds/diff-gaussian-rasterization (HEAD) Updated https://github.com/NVlabs/nvdiffrast.git (729261d) Updated https://github.com/JeffreyXiang/diffoctreerast.git (b09c20b) ⠧ 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\GameServer\AppData\Local\uv\cache\builds-v0.tmpxFzpXq\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\GameServer\AppData\Local\uv\cache\builds-v0.tmpxFzpXq\lib\site-packages\setuptools\build_meta.py", line 304, in _get_build_requires self.run_setup() File "C:\Users\GameServer\AppData\Local\uv\cache\builds-v0.tmpxFzpXq\lib\site-packages\setuptools\build_meta.py", line 522, in run_setup super().run_setup(setup_script=setup_script) File "C:\Users\GameServer\AppData\Local\uv\cache\builds-v0.tmpxFzpXq\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) G:\AI\pinokio\api\TRELLIS.git\app>

Im getting the same issue in widows 11.

@DraycD
Copy link

DraycD commented Jan 22, 2025

@Tobe2d
Copy link
Author

Tobe2d commented Jan 22, 2025

i got further, just replace for your WINDOWS install the requirements.txt with this:

pillow imageio imageio-ffmpeg tqdm easydict opencv-python-headless scipy ninja rembg onnxruntime trimesh xatlas pyvista pymeshfix igraph transformers torch==2.5.1 git+https://github.com/EasternJournalist/utils3d.git@9a4eb15e4021b67b12c460c7057d642626897ec8 git+https://github.com/NVlabs/nvdiffrast.git https://nvidia-kaolin.s3.us-east-2.amazonaws.com/torch-2.5.1_cu124/kaolin-0.17.0-cp310-cp310-win_amd64.whl ; platform_system == "Windows" gradio==4.44.1 gradio_litmodel3d==0.0.1 kaolin https://github.com/bdashore3/flash-attention/releases/download/v2.7.1.post1/flash_attn-2.7.1.post1+cu124torch2.5.1cxx11abiFALSE-cp310-cp310-win_amd64.whl ; platform_system == "Windows" spconv-cu120 https://github.com/iiiytn1k/sd-webui-some-stuff/releases/download/diffoctreerast/diffoctreerast-0.0.0-cp310-cp310-win_amd64.whl ; platform_system == "Windows" https://github.com/sdbds/diff-gaussian-rasterization/releases/download/diff-gaussian-rasterization/diff_gaussian_rasterization-0.0.0-cp310-cp310-win_amd64.whl ; platform_system == "Windows" https://github.com/woct0rdho/triton-windows/releases/download/v3.1.0-windows.post5/triton-3.1.0-cp310-cp310-win_amd64.whl ; platform_system == "Windows"

I just tested this and I got this error:

TypeError: Cannot read properties of undefined (reading 'slice')
    at FS.share (C:\Users\user\AppData\Local\Programs\Pinokio\resources\app.asar\node_modules\pinokiod\kernel\api\fs\index.js:283:76)
    at async FS.link (C:\Users\user\AppData\Local\Programs\Pinokio\resources\app.asar\node_modules\pinokiod\kernel\api\fs\index.js:92:20)
    at async Api.run (C:\Users\user\AppData\Local\Programs\Pinokio\resources\app.asar\node_modules\pinokiod\kernel\api\index.js:118:18)
    at async Api.step (C:\Users\user\AppData\Local\Programs\Pinokio\resources\app.asar\node_modules\pinokiod\kernel\api\index.js:797:22)
    at async C:\Users\user\AppData\Local\Programs\Pinokio\resources\app.asar\node_modules\pinokiod\kernel\api\index.js:1036:25

Any Idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants