Skip to content

Unable to install Ais on Python 3.11 and greater due to missing 'tensorflow' dependency #11

Description

@tieneupin

The earliest version of tensorflow available for Python 3.11 is 2.12.0 (see the PyPI simple index for tensorflow), so the installation fails for Python versions 3.11 and above.

$ pip install ais-cryoet==1.0.44
Collecting ais-cryoet==1.0.44
  Using cached Ais-cryoET-1.0.44.tar.gz (4.8 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting imgui>=2.0.0 (from ais-cryoet==1.0.44)
  Using cached imgui-2.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.0 kB)
INFO: pip is looking at multiple versions of ais-cryoet to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement tensorflow==2.8.0 (from ais-cryoet) (from versions: 2.12.0rc0, 2.12.0rc1, 2.12.0, 2.12.1, 2.13.0rc0, 2.13.0rc1, 2.13.0rc2, 2.13.0, 2.13.1, 2.14.0rc0, 2.14.0rc1, 2.14.0, 2.14.1, 2.15.0rc0, 2.15.0rc1, 2.15.0, 2.15.0.post1, 2.15.1, 2.16.0rc0, 2.16.1, 2.16.2, 2.17.0rc0, 2.17.0rc1, 2.17.0, 2.17.1, 2.18.0rc0, 2.18.0rc1, 2.18.0rc2, 2.18.0, 2.18.1, 2.19.0rc0, 2.19.0, 2.19.1, 2.20.0rc0, 2.20.0)
ERROR: No matching distribution found for tensorflow==2.8.0

This will become a concern going forwards, as Python 3.10 is approaching end-of-life this October (see link), so Ais will need to be able to run with package versions available on Python 3.11 and higher.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions