There is a lot of errors in the installation process in your colab example. The error message you're referring to is raised from omegaconf, so make sure you're using the correct version of omegaconf. But there is a couple of errors during the installation already which could cause error in demo.py as well. SHAPY and the demo code have been tested with Python 3.8, CUDA 10.2 and PyTorch 1.7.1 on Ubuntu 18.04. The Colab default is python 3.10 and CUDA 11.8, so I assume some packages are not compatible. If possible, try it on your computer with the tested configuration.
You can check the system defaults in Colab via:
!nvcc --version
!python --version
!cat /etc/os-release | head -n2
Originally posted by @muelea in #24
Hi,
I tried running the Colab notebook, the official one, without making any changes and ran into several installation/build issues.
Here’s what I encountered:
- Colab now uses Python 3.12, CUDA 12.6 (runtime only), and Torch 2.8.0, which are quite different from the tested setup (Python 3.8 + CUDA 10.2 + Torch 1.7.1).
- During installation, I get multiple build errors, mainly from:
- mesh_mesh_intersection → fails to build wheels (Could not build wheels for mesh_mesh_intersection)
- sklearn → metadata generation failed (since sklearn meta-package is deprecated; needs scikit-learn instead)
As a result, demo.py fails to import modules dependent on the compiled extension.
Originally posted by @muelea in #24
Hi,
I tried running the Colab notebook, the official one, without making any changes and ran into several installation/build issues.
Here’s what I encountered:
As a result, demo.py fails to import modules dependent on the compiled extension.