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

Building wheel for gridencoder (setup.py) ... error #12

Open
Shell0222 opened this issue Jul 15, 2024 · 3 comments
Open

Building wheel for gridencoder (setup.py) ... error #12

Shell0222 opened this issue Jul 15, 2024 · 3 comments

Comments

@Shell0222
Copy link

Hello! This is a great job!
I found such a problem during the replication process. How can I solve it?

Building wheel for gridencoder (setup.py) ... error

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for gridencoder Running setup.py clean for gridencoder Failed to build gridencoder ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (gridencoder)

@YihangChen-ee
Copy link
Owner

Hi, do you have full log for this error?

I recommend you use the same cuda and gcc version as ours. (ie, cuda 11.8, gcc 9.4.0)

@2003jiahang
Copy link

I have the same issue, i figure it out by changing the setup.py in the gridencoder
I change the c++14 to c++17.
My cuda is 12.4 and pip install torchaudio==2.1.0+cu121 torchvision==0.16.0+cu121 --index-url https://download.pytorch.org/whl/cu121
setup
I make this change because I see home/liujiahang/miniconda3/envs/HAC_env/lib/python3.10/site-packages/torch/include/c10/util/C++17.h:27:2: error: #error You need C++17 to compile PyTorch /home/liujiahang/miniconda3/envs/HAC_env/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4:2: error: C++17 or later compatible compiler is required to use PyTorch.
This means that I need the C++ version greater than or equal to 17

@2003jiahang
Copy link

@Shell0222

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

3 participants