You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to run the code in a Google Colab notebook, but I am encountering installation errors for several packages (raymarching, shencoder, freqencoder, and gridencoder). The installation fails during the execution of install.sh, with the following error for each package
Installing collected packages: raymarching
error: subprocess-exited-with-error
× Running setup.py install for raymarching did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Running setup.py install for raymarching ... error
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> raymarching
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure."
Found the solution, the problem is related c++14 not working on google colab.
To solve the issue change c++14 to c++17 in setup.py of raymarching, shencoder, freqencoder. it should look like this:
import os
from setuptools import setup
from torch.utils.cpp_extension import BuildExtension, CUDAExtension
Description
I am trying to run the code in a Google Colab notebook, but I am encountering installation errors for several packages (raymarching, shencoder, freqencoder, and gridencoder). The installation fails during the execution of install.sh, with the following error for each package
Steps to Reproduce
1.Go to https://colab.research.google.com/drive/1MXT3yfOFvO0ooKEfiUUvTKwUkrrlCHpF?usp=sharing
2. run install dependencies
Expected Behavior
successfully install cuda extensions
Environment
google colab, T4 GPU, Python 3.10.12, CUDA Version: 12.2
The text was updated successfully, but these errors were encountered: