Skip to content
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

UnsatisfiableError during installation process #1162

Closed
YeeSkywalker opened this issue Apr 11, 2022 · 5 comments
Closed

UnsatisfiableError during installation process #1162

YeeSkywalker opened this issue Apr 11, 2022 · 5 comments
Assignees
Labels
installation Installation questions or issues Stale

Comments

@YeeSkywalker
Copy link

Hi there,

I'm new to pytorch3d. I was trying to install pytorch3d in my machine and I encouter UnsatisfiableError.

Conda version: 4.12.0
Enviroment python version: 3.16.3
OS version: Ubuntu 18.04.6
GCC version: 7.5.0
CUDA version: 11.0

Command I ran:

conda create -n myenv python=3.6 --yes
conda activate mien

conda install  pytorch torchvision cudatoolkit=10.1 -c pytorch --yes
conda install -y -c conda-forge pyembree
conda install -y -c conda-forge trimesh seaborn
conda install -c conda-forge -c fvcore fvcore

conda install pytorch3d -c pytorch3d

The error came after I ran conda install pytorch3d -c pytorch3d, and before that every command went well.

The terminal output I got after I ran conda install pytorch3d -c 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:

  - feature:/linux-64::__glibc==2.27=0
  - feature:|@/linux-64::__glibc==2.27=0

Your installed version is: 2.27

It would be greatly appreciated that if anyone could point out what I did wrong and how to correct it. Thank you very much for your time and help in advance!

@bottler
Copy link
Contributor

bottler commented Apr 11, 2022

I think you should switch to Python at least 3.7, because 3.6 is not supported by recent builds of PyTorch or PyTorch3D.

You need in general to specify the version of PyTorch you want to use. When you run conda install pytorch torchvision cudatoolkit=10.1 -c pytorch --yes, you are getting the latest pytorch (or the latest which supports your python) which may be newer than what pytorch3d supports. PyTorch 1.10.0 is the latest supported by the most recent build of PyTorch3D.

@bottler bottler self-assigned this Apr 11, 2022
@bottler bottler added the installation Installation questions or issues label Apr 11, 2022
@luisdecker
Copy link

Got the same error, running the commands defined in the INSTALL.md tutorial.

@luisdecker
Copy link

Forcing pytorch version to 1.10.0 solved this problem

@github-actions
Copy link

github-actions bot commented Jun 1, 2022

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.

@github-actions github-actions bot added the Stale label Jun 1, 2022
@github-actions
Copy link

github-actions bot commented Jun 7, 2022

This issue was closed because it has been stalled for 5 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installation Installation questions or issues Stale
Projects
None yet
Development

No branches or pull requests

3 participants