torch-ngp icon indicating copy to clipboard operation
torch-ngp copied to clipboard

Failed to build installable wheels for some pyproject.toml based projects (gridencoder)

Open ShanLanFuSheng opened this issue 1 year ago • 5 comments

Hello, I had trouble installing gridcoder. When I run pip install. ,then I get the following error: error1

error2

ShanLanFuSheng avatar Jul 09 '24 05:07 ShanLanFuSheng

Did you check your nvcc version? I had the same issue. My pytorch-cuda version was 11.7 while my nvcc version was 11.3. My fix was updating nvcc to 11.7.

liujie-zheng avatar Jul 12 '24 14:07 liujie-zheng

嗯嗯,我后面在服务器上跑了,用的是Ubuntu环境,然后就解决了我的问题,可能是Windows不行?具体原因我没找到,但换了Ubuntu就好了

山岚浮生 @.***

 

------------------ 原始邮件 ------------------ 发件人: "ashawkey/torch-ngp" @.>; 发送时间: 2024年7月12日(星期五) 晚上10:53 @.>; @.@.>; 主题: Re: [ashawkey/torch-ngp] Failed to build installable wheels for some pyproject.toml based projects (gridencoder) (Issue #201)

Did you check your nvcc version? I had the same issue. My pytorch-cuda version was 11.7 while my nvcc version was 11.3. My fix was updating nvcc to 11.7.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

ShanLanFuSheng avatar Jul 12 '24 14:07 ShanLanFuSheng

Processing methods in Win10 environment: Open setup. py Modify the last set of parameters: 'build_ext': BuildExtension Change to: 'build_ext': BuildExtension.with_options(use_ninja=False)

For more questions about 3D environment dependencies, please refer to my blog post

fuweipeng avatar Aug 29 '24 13:08 fuweipeng

嗯嗯,我后面在服务器上跑了,用的是Ubuntu环境,然后就解决了我的问题,可能是Windows不行?具体原因我没找到,但换了Ubuntu就好了

山岚浮生 @.***

 

what's your env and cuda version? I encounter same problem when building this repo and my env information is: ubuntu 22.04 cuda 12.1 python 3.9 torch 2.1.0

Maple-geekZhu avatar Feb 19 '25 06:02 Maple-geekZhu

谢谢,我后面也在服务器上跑了,没用Windows就解决了

山岚浮生 @.***

 

------------------ 原始邮件 ------------------ 发件人: "ashawkey/torch-ngp" @.>; 发送时间: 2025年2月19日(星期三) 下午2:32 @.>; @.@.>; 主题: Re: [ashawkey/torch-ngp] Failed to build installable wheels for some pyproject.toml based projects (gridencoder) (Issue #201)

嗯嗯,我后面在服务器上跑了,用的是Ubuntu环境,然后就解决了我的问题,可能是Windows不行?具体原因我没找到,但换了Ubuntu就好了

山岚浮生 @.***

  …

what's your env and cuda version? I encounter same problem when building this repo and my env information is: ubuntu 22.04 cuda 12.1 python 3.9 torch 2.1.0

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***> Maple-geekZhu left a comment (ashawkey/torch-ngp#201)

嗯嗯,我后面在服务器上跑了,用的是Ubuntu环境,然后就解决了我的问题,可能是Windows不行?具体原因我没找到,但换了Ubuntu就好了

山岚浮生 @.***

  …

what's your env and cuda version? I encounter same problem when building this repo and my env information is: ubuntu 22.04 cuda 12.1 python 3.9 torch 2.1.0

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

ShanLanFuSheng avatar Feb 19 '25 06:02 ShanLanFuSheng