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
When I try to run python setup.py develop or pip install . to install fvdb it always return error in cpp_extension.py which is used in setup.py line 299
Traceback (most recent call last):
File "/home/ubuntu/Downloads/openvdb-feature-fvdb/fvdb/setup.py", line 299, in
lib_ext = cpp_extension.CUDAExtension(
File "/opt/conda/envs/fvdb_learn/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1076, in CUDAExtension
library_dirs += library_paths(cuda=True)
File "/opt/conda/envs/fvdb_learn/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1207, in library_paths
if (not os.path.exists(_join_cuda_home(lib_dir)) and
File "/opt/conda/envs/fvdb_learn/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 2416, in _join_cuda_home
raise OSError('CUDA_HOME environment variable is not set. '
OSError: CUDA_HOME environment variable is not set. Please set it to your CUDA install root.
However I already make CUDA_HOME environment into /usr/local/cuda-12.1 as shown in Screen shot.
Additional context
Screen shot of error is below
The text was updated successfully, but these errors were encountered:
Environment
Operating System: Ubuntu 22.04
Version / Commit SHA: feature/fVDB
CMake Version: 3.22.1
Compiler: gcc 11.4.0
Describe the problem
When I try to run python setup.py develop or pip install . to install fvdb it always return error in cpp_extension.py which is used in setup.py line 299
To Reproduce
Steps to reproduce the behavior:
Traceback (most recent call last):
File "/home/ubuntu/Downloads/openvdb-feature-fvdb/fvdb/setup.py", line 299, in
lib_ext = cpp_extension.CUDAExtension(
File "/opt/conda/envs/fvdb_learn/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1076, in CUDAExtension
library_dirs += library_paths(cuda=True)
File "/opt/conda/envs/fvdb_learn/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1207, in library_paths
if (not os.path.exists(_join_cuda_home(lib_dir)) and
File "/opt/conda/envs/fvdb_learn/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 2416, in _join_cuda_home
raise OSError('CUDA_HOME environment variable is not set. '
OSError: CUDA_HOME environment variable is not set. Please set it to your CUDA install root.
Additional context
Screen shot of error is below
The text was updated successfully, but these errors were encountered: