-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't install pytorch3d using conda -> glibc error #1076
Comments
I'm on Ubuntu MATE 20.04 |
It's best to paste your
with
|
I gave the following a quick test: Conflicts re-occured, though this time the error output is too long to include. (see error_message.txt ) my conda list is:
|
Tried going up to python 3.10, but that doesn't seem to have solved it. |
You also need, still with Python 3.8
before pytorch3d. Python 3.10 will make things harder. I don't think there are released PyTorch packages for Python 3.10 yet. |
The failures occur at The following installs fine: I have tried with latest pytorch and fvcore/iopath, but it fails to install pytorch3d, probably for the reasons you mention. |
Sure. Maybe true - but right now you won't have an easy pytorch3d install after this.
Do you mean conflicts occurred on that line, or on a subsequent attempt to install pytorch3d. I assumed the latter. If you mean the former, maybe you need to add |
The top part of error_message.txt:
I cannot install the version of pytorch you specified, only the latest. Is there a different version that may work? |
The latest won't work with a conda build of pytorch3d. Did you try |
Ok. I've never had to do that before, but it worked. The winning combination was:
|
It might be good to add an explicit note about the versions of pytorch that are supported to the "Installing prebuilt binaries for PyTorch3D" section of the install readme, and maybe a note about possibly needing conda-forge. The fvcore/iopath dependencies also aren't mentioned there. It's the spot most people are going to jump to first. Something like "After installing the above dependencies (including a supported version of pytorch and fvcore/iopath)..." |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
This issue was closed because it has been stalled for 5 days with no activity. |
doesnot work for me. |
If you do not know the root cause of the problem / bug, and wish someone to help you, please
post according to this template:
🐛 Bugs / Unexpected behaviors
Trying to install pytorch3d via conda. Fails with the following error:
$ conda install -c pytorch3d pytorch3d
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: \
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:
Your installed version is: 2.31
Instructions To Reproduce the Issue:
conda create --name synthia_point_cloud_rendering python=3.8
conda activate synthia_point_cloud_rendering
conda install numpy pillow matplotlib
conda install -c conda-forge opencv
conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch
conda install -c pytorch3d pytorch3d
I sometimes also install the following first before pytorch3d, but it doesn't seem to have any effect:
conda install -c open3d-admin -c conda-forge open3d
The text was updated successfully, but these errors were encountered: