Runtime errors when starting a local space of DreamGaussian

Hello,
I am trying to duplicate the DreamGaussian Space and got several errors.
I have been able to fix all but the errors copied below:

I did set up the CUDA_HOME environmental variable, and I don’t see the file setup.py in the files of the DreamGauusian repository.:

Any help is appreciated

Thanks


× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [12 lines of output]
Traceback (most recent call last):
File “”, line 2, in
File “”, line 34, in
File “/home/user/app/diff-gaussian-rasterization/setup.py”, line 21, in
CUDAExtension(
File “/usr/local/lib/python3.10/site-packages/torch/utils/cpp_extension.py”, line 1048, in CUDAExtension
library_dirs += library_paths(cuda=True)
File “/usr/local/lib/python3.10/site-packages/torch/utils/cpp_extension.py”, line 1179, in library_paths
if (not os.path.exists(_join_cuda_home(lib_dir)) and
File “/usr/local/lib/python3.10/site-packages/torch/utils/cpp_extension.py”, line 2223, in _join_cuda_home
raise EnvironmentError('CUDA_HOME environment variable is not set. ’
OSError: CUDA_HOME environment variable is not set. Please set it to your CUDA install root.
[end of output]

And also:

Traceback (most recent call last):
File “/home/user/app/app.py”, line 93, in
image_block = gr.Image(type=‘pil’, image_mode=‘RGBA’, height=290, label=‘Input image’, tool=None)
File “/usr/local/lib/python3.10/site-packages/gradio/component_meta.py”, line 163, in wrapper
return fn(self, **kwargs)
TypeError: Image.init() got an unexpected keyword argument ‘tool’