facebookresearch / pytorch3d

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

ModuleNotFoundError: No module named 'pytorch3d.structures' #1836

Closed nothonfz closed 4 months ago

nothonfz commented 4 months ago

947037b9d49b08b16e5756add18e097

I create a env named step10 with python 3.9.

I use pip install torch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 --index-url https://download.pytorch.org/whl/cu121 to install pytorch. And I install the pytorch3d from source with following commands

  1. conda install -c fvcore -c iopath -c conda-forge fvcore iopath
  2. cd pytorch3d
  3. pip install -e .

Finally, the pytorch3d of version 0.7.7 exists in my env. 1721119845470

But when the code imports the Module, it failed. 73dbad806ed016d6d4e527cf2a04fc4

Has anyone encountered this problem?

bottler commented 4 months ago

Something very basic has gone wrong, maybe the environment has changed. I suggest rebuilding the environment.