pytorch3d
pytorch3d copied to clipboard
Can't install pytorch3d on Google Colab: installation raises several errors after running condacolab before
🐛 Bugs / Unexpected behaviors
I am trying to install pytorch3d but keep failing.
Running:
!pip install git+https://github.com/facebookresearch/[email protected]
works ok.
But if I run:
! pip install -q condacolab
import condacolab
condacolab.install()
And then
!pip install git+https://github.com/facebookresearch/[email protected]
It does not work.
Error:
conda 23.1.0 if needed.
Instructions To Reproduce the Issue:
Not working:
! pip install -q condacolab
import condacolab
condacolab.install()
!pip install git+https://github.com/facebookresearch/[email protected]
vs. Working:
!pip install git+https://github.com/facebookresearch/[email protected]
Can you help me? I am trying to figure out the cause here but I don't know why it makes the error occur.
I have no experience with condacolab, and our instructions for installing pytorch3d on colab are assuming you aren't using it. I think it gives you something like a normal conda environment, so you probably want to follow the usual procedure for installing pytorch3d via conda. In particular, you need to install pytorch and fvcore and iopath explicitly as conda packages first.
I also meet the same problem with google colab.
No matter using git or installing from a local clone.
Anybody can help?
@Xin200203 The method of installing shown in the tutorials should work fine. Are you trying with non-vanilla colab e.g. with condacolab like the OP here?