facebookresearch / habitat-sim

A flexible, high-performance 3D simulator for Embodied AI research.
https://aihabitat.org/
MIT License
2.54k stars 414 forks source link

Support Python version > 3.10 conda build #2289

Open YX-S-Z opened 8 months ago

YX-S-Z commented 8 months ago

I am trying to install habitat-sim in an environment with a python version 3.10.12 via:

conda install habitat-sim headless -c conda-forge -c aihabitat And I received the following installation error.

Collecting package metadata (current_repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Solving environment: unsuccessful attempt using repodata from current_repodata.json, retrying with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: unsuccessful initial attempt using 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 the existing python installation in your environment:

Specifications:

  - habitat-sim -> python[version='>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']

Your python: defaults/linux-64::python==3.10.12=h955ad1f_0

If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.

The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

Package habitat-sim-mutex conflicts for:
habitat-sim -> habitat-sim-mutex==1.0[build='headless_bullet|display_bullet|display_nobullet|headless_nobullet']
headless -> habitat-sim-mutex==1.0[build=headless_*]The following specifications were found to be incompatible with your system:

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

Your installed version is: 2.35

Is it possible that I can run the installation with a python version > 3.9?

aclegg3 commented 7 months ago

Hey @YX-S-Z,

You can absolutely install from source with python > 3.9. In this case you are trying to install from a conda build and our matrix builder is not setup for 3.10+. We will consider expanding support, but in the meantime, try building sim from source.