Skip to content

Python Version Conflict in Installation Instructions #3

Description

@haolingke

The Problem
The README specifies two conflicting Python versions:
Section (1) instructs creating a Python 3.9.19 environment:
conda create -n Nav-R2-evaluation python=3.9.19
Section (2) provides a flash_attn wheel compiled for Python 3.10:
pip install environment-modules-customed/flash_attn-2.7.4.post1+cu12torch2.6cxx11abiTRUE-cp310-cp310-linux_x86_64.whl

The cp310 in the filename indicates this wheel is built for Python 3.10 and cannot be installed in a Python 3.9 environment.

(test) llh@llhWs:~/NavR2/Nav-R2$ pip install environment-modules-customed/flash_attn-2.7.4.post1+cu12torch2.6cxx11abiTRUE-cp310-cp310-linux_x86_64.whl
Looking in indexes: https://mirrors.osa.moe/pypi/web/simple
ERROR: flash_attn-2.7.4.post1+cu12torch2.6cxx11abiTRUE-cp310-cp310-linux_x86_64.whl is not a supported wheel on this platform.
(test) llh@llhWs:~/NavR2/Nav-R2$ python --version
Python 3.9.19

My system is Ubuntu22.04,and I installed this ehl successfully in my 3.10 conda environment.
(Nav-R2-evaluation) llh@llhWs:~/NavR2/Nav-R2$ conda list | grep flash flash-attn 2.7.4.post1 pypi_0 pypi (Nav-R2-evaluation) llh@llhWs:~/NavR2/Nav-R2$ python --version Python 3.10.19

Questions
Should the conda environment be created with Python 3.10 instead of 3.9.19?
Or should a Python 3.9 compatible version of flash_attn be provided?
Are the customized habitat-lab and habitat-baselines compatible with Python 3.10?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions