tensorflow / tensorflow/tflite-support

Cannot install tflite-support==0.4.4 on macOS 15.5 (Apple Silicon M4); metadata_writers module not found

Open
#1,000 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
441
Forks
146
PR merge metrics
No merged PRs in 30d

Description

I am unable to install tflite-support==0.4.4 on macOS 15.5 running on an Apple Silicon M4 chip. I have tried multiple Python versions (3.8, 3.9, 3.11, and 3.12) but pip always fails to find a compatible wheel for 0.4.4. Instead, pip either reports “No matching distribution found” or installs an older alpha release (e.g., 0.1.0a1). As a result, when I attempt to import tflite_support.metadata_writers, I get:
ImportError: cannot find reference 'metadata_writers' in 'tflite_support/__init__.py'
I need the metadata_writers functionality to generate metadata files for TFLite models, but I cannot install the correct version of the library that contains it.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the published tflite-support==0.4.4 package metadata and the tflite_support/init.py entry point; check which platform and Python-version artifacts are available and whether metadata_writers is included. Done means establishing a supported installation path for Apple Silicon or clearly documenting the compatibility limitation, with the reported metadata_writers import as the check.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, tensorflow
Domain
build-system, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.