Ubuntu 25.04 Installation error: "ImportError: libtorch_cpu.so: cannot enable executable stack as shared object requires: Invalid argument"
Hello. Thanks a lot for releasing this code. I have multiple volumetric captures that I'm really excited to try to run with Queen, but I'm having an issue installing on an AMD Ubuntu 25.04 system with an Nvidia RTX4090.
When I run the command "conda env create -f environment.yml" I get the below error. I'd really appreciate any pointers on how to resolve this.
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
Traceback (most recent call last):
File "
Here's the entire output:
(base) mikecaronna@jj-ubuntu-PC:~/Code/queen$ conda env create -f environment.yml Channels:
- pytorch
- conda-forge
- defaults Platform: linux-64 Collecting package metadata (repodata.json): done Solving environment: done
Downloading and Extracting Packages:
Preparing transaction: done Verifying transaction: done Executing transaction: - By downloading and using the CUDA Toolkit conda packages, you accept the terms and conditions of the CUDA End User License Agreement (EULA): https://docs.nvidia.com/cuda/eula/index.html
done Installing pip dependencies: \ Ran pip subprocess with arguments: ['/home/mikecaronna/miniconda3/envs/queen/bin/python', '-m', 'pip', 'install', '-U', '-r', '/home/mikecaronna/Code/queen/condaenv.80qo2sla.requirements.txt', '--exists-action=b'] Pip subprocess output: Processing ./submodules/diff-gaussian-rasterization Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'error'
Pip subprocess error: error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
Traceback (most recent call last):
File "
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details.
failed
CondaEnvException: Pip failed
Here's the output of Nvidia-smi +-----------------------------------------------------------------------------------------+ | NVIDIA-SMI 570.133.07 Driver Version: 570.133.07 CUDA Version: 12.8 | |-----------------------------------------+------------------------+----------------------+ | GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |=========================================+========================+======================|
Thanks for your help.
Thanks for raising this issue! We have only tested with Ubuntu 22.04 and GPU Driver Version: 535.129.03, CUDA Version: 12.2 so far.
If I understand this issue with the same error correctly, it seems to be an error relating to pytorch-cpu-feedstock compatibility with glibc.
Our conda environment is adapted from gaussian-splatting's, and they suggest that relaxing some of the version constraints to use more modern versions could work. So, perhaps try using pytorch>=2.6.0, which addresses the glibc compatibility issue?
(sorry, closed by mistake)
Does the Nvidia RTX4090 will OOM? Because I notice that the paper use A100.
I haven't personally tested on a 4090. It does depend on your scene resolution too.