facebookresearch / pytorch3d

PyTorch3D is FAIR's library of reusable components for deep learning with 3D data
https://pytorch3d.org/
Other
8.7k stars 1.3k forks source link

Does pytorch3d work with python3.11? #1842

Closed Ryang20718 closed 1 month ago

Ryang20718 commented 2 months ago

❓ Questions on how to use PyTorch3D

When will pytorch3d work with python3.11/ What would be needed to support python3.11?

Based on install https://github.com/facebookresearch/pytorch3d/blob/main/INSTALL.md#core-library, I see pytorch3d only supports 3.10.

When will pytorch3d support python3.11?

On python 3.11 I see

from pytorch3d import _C
....
ImportError: undefined symbol: _ZNK3c105Error4whatEv
Ryang20718 commented 2 months ago

On python3.10, everything just works :)

bottler commented 2 months ago

It should work, and we need to update that line in INSTALL.md. I think that error suggests you have a mismatch between the pytorch build (e.g. python version or pytorch version) used to build pytorch3d and the version you are running with.