tensorflow: Bug - pip install tflite-model-maker fails or hangs forever

Click to expand!

Issue Type

Bug

Have you reproduced the bug with TF nightly?

Yes

Tensorflow Version

v2.12.0-rc1-12-g0db597d0d75 2.12.0

Custom Code

No

OS Platform and Distribution, Mobile device, Python version, Bazel version, GCC/Compiler version, CUDA version

Default Colab Pro

Current Behaviour?

!pip install tflite-model-maker fails or hangs forever The error occurs in tutorial notebook: https://colab.research.google.com/github/khanhlvg/tflite_raspberry_pi/blob/main/object_detection/Train_custom_model_tutorial.ipynb I have tried multiple things in colab None/GPU runtime, ‘Disconnect and delete runtime’ after each failed attempt.:

!pip install tflite-model-maker-nightly

pip install --no-dependencies tflite-model-maker (imports will fail, manually installing them with pip install tensorflowjs won’t help with NotFoundError: /usr/local/lib/python3.10/dist-packages/tensorflow_decision_forests/tensorflow/ops/inference/inference.so: undefined symbol: _ZN3tsl6Status22MaybeAddSourceLocationENS_14SourceLocationE error)

!pip install --upgrade pip
!wget https://raw.githubusercontent.com/tensorflow/examples/master/tensorflow_examples/lite/model_maker/requirements.txt
!pip install -r requirements.txt

results in:

ERROR: Could not find a version that satisfies the requirement tflite-support>=0.4.2 (from versions: 0.1.0a0.dev3, 0.1.0a0.dev4, 0.1.0a0.dev5, 0.1.0a0, 0.1.0a1)
ERROR: No matching distribution found for tflite-support>=0.4.2

I have also tried: pip install tflite-model-maker==0.4.2 got ERROR: No matching distribution found for numba==0.53 pip install tflite-model-maker==0.4.1 got ERROR: No matching distribution found for scann==1.2.6 pip install tflite-model-maker==0.4.0 got ERROR: No matching distribution found for tflite-support>=0.4.0

Related issues: https://github.com/tensorflow/tensorflow/issues/59855 https://github.com/tensorflow/tensorflow/issues/51031

Standalone code to reproduce the issue

`!pip install tflite-model-maker` in colab

Relevant log output

tflite_modelmaker_debug2_ Notebook unstarred 1

Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/ Collecting tflite-model-maker Downloading tflite_model_maker-0.4.2-py3-none-any.whl (577 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 577.3/577.3 kB 11.3 MB/s eta 0:00:00 Downloading tflite_model_maker-0.4.1-py3-none-any.whl (642 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 642.4/642.4 kB 28.3 MB/s eta 0:00:00 Collecting tf-models-official==2.3.0 Downloading tf_models_official-2.3.0-py2.py3-none-any.whl (840 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 840.9/840.9 kB 12.0 MB/s eta 0:00:00 Requirement already satisfied: numpy>=1.17.3 in /usr/local/lib/python3.10/dist-packages (from tflite-model-maker) (1.22.4) Requirement already satisfied: PyYAML>=5.1 in /usr/local/lib/python3.10/dist-packages (from tflite-model-maker) (6.0) Requirement already satisfied: absl-py>=0.10.0 in /usr/local/lib/python3.10/dist-packages (from tflite-model-maker) (1.4.0) Requirement already satisfied: tensorflow-datasets>=2.1.0 in /usr/local/lib/python3.10/dist-packages (from tflite-model-maker) (4.8.3) Requirement already satisfied: lxml>=4.6.1 in /usr/local/lib/python3.10/dist-packages (from tflite-model-maker) (4.9.2) Collecting tensorflow-addons>=0.11.2 Downloading tensorflow_addons-0.20.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (591 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 591.0/591.0 kB 27.8 MB/s eta 0:00:00 Requirement already satisfied: six>=1.12.0 in /usr/local/lib/python3.10/dist-packages (from tflite-model-maker) (1.16.0) Collecting sentencepiece>=0.1.91 Downloading sentencepiece-0.1.98-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 46.1 MB/s eta 0:00:00 Collecting tensorflow-hub<0.13,>=0.7.0 Downloading tensorflow_hub-0.12.0-py2.py3-none-any.whl (108 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 108.8/108.8 kB 10.7 MB/s eta 0:00:00 Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 Downloading urllib3-1.25.11-py2.py3-none-any.whl (127 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 128.0/128.0 kB 7.5 MB/s eta 0:00:00 Requirement already satisfied: pillow>=7.0.0 in /usr/local/lib/python3.10/dist-packages (from tflite-model-maker) (8.4.0) Requirement already satisfied: tensorflow>=2.6.0 in /usr/local/lib/python3.10/dist-packages (from tflite-model-maker) (2.12.0) Collecting librosa==0.8.1 Downloading librosa-0.8.1-py3-none-any.whl (203 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 203.8/203.8 kB 12.1 MB/s eta 0:00:00 Collecting neural-structured-learning>=1.3.1 Downloading neural_structured_learning-1.4.0-py2.py3-none-any.whl (128 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 128.6/128.6 kB 7.0 MB/s eta 0:00:00 Requirement already satisfied: Cython>=0.29.13 in /usr/local/lib/python3.10/dist-packages (from tflite-model-maker) (0.29.34) Collecting tensorflowjs>=2.4.0 Downloading tensorflowjs-4.4.0-py3-none-any.whl (85 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 85.1/85.1 kB 6.0 MB/s eta 0:00:00 Collecting matplotlib<3.5.0,>=3.0.3 Downloading matplotlib-3.4.3.tar.gz (37.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 37.9/37.9 MB 9.8 MB/s eta 0:00:00 Preparing metadata (setup.py) … done Collecting fire>=0.3.1 Downloading fire-0.5.0.tar.gz (88 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 88.3/88.3 kB 6.4 MB/s eta 0:00:00 Preparing metadata (setup.py) … done Collecting flatbuffers==1.12 Downloading flatbuffers-1.12-py2.py3-none-any.whl (15 kB) Collecting tflite-model-maker Downloading tflite_model_maker-0.4.0-py3-none-any.whl (642 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 642.1/642.1 kB 34.6 MB/s eta 0:00:00 Downloading tflite_model_maker-0.3.4-py3-none-any.whl (616 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 616.8/616.8 kB 33.1 MB/s eta 0:00:00 Downloading tflite_model_maker-0.3.3-py3-none-any.whl (616 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 616.8/616.8 kB 30.7 MB/s eta 0:00:00 Downloading tflite_model_maker-0.3.2-py3-none-any.whl (591 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 591.6/591.6 kB 22.7 MB/s eta 0:00:00 Requirement already satisfied: librosa>=0.5 in /usr/local/lib/python3.10/dist-packages (from tflite-model-maker) (0.10.0.post2) Collecting tensorflow-hub<0.10>=0.8.0 Downloading tensorflow_hub-0.9.0-py2.py3-none-any.whl (103 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.3/103.3 kB 7.1 MB/s eta 0:00:00 Collecting tflite-model-maker Downloading tflite_model_maker-0.3.1-py3-none-any.whl (590 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 590.8/590.8 kB 32.7 MB/s eta 0:00:00 Downloading tflite_model_maker-0.3.0-py3-none-any.whl (567 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 567.9/567.9 kB 23.1 MB/s eta 0:00:00 Downloading tflite_model_maker-0.2.5-py3-none-any.whl (499 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 499.2/499.2 kB 4.4 MB/s eta 0:00:00 Downloading tflite_model_maker-0.2.4-py3-none-any.whl (190 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 190.1/190.1 kB 11.9 MB/s eta 0:00:00 Downloading tflite_model_maker-0.2.3-py3-none-any.whl (114 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 114.2/114.2 kB 10.0 MB/s eta 0:00:00 Requirement already satisfied: tensorflow-hub>=0.8.0 in /usr/local/lib/python3.10/dist-packages (from tflite-model-maker) (0.13.0) Downloading tflite_model_maker-0.2.2-py3-none-any.whl (103 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.3/103.3 kB 7.8 MB/s eta 0:00:00 Downloading tflite_model_maker-0.2.1-py3-none-any.whl (102 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 102.9/102.9 kB 2.3 MB/s eta 0:00:00 Downloading tflite_model_maker-0.2.0-py3-none-any.whl (102 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 102.6/102.6 kB 8.0 MB/s eta 0:00:00 Downloading tflite_model_maker-0.1.2-py3-none-any.whl (104 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 104.1/104.1 kB 4.8 MB/s eta 0:00:00 Collecting tf-nightly Downloading tf_nightly-2.13.0.dev20230428-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (524.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 524.1/524.1 MB 2.8 MB/s eta 0:00:00 Collecting tflite-model-maker Downloading tflite_model_maker-0.1.1-py3-none-any.whl (86 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 87.0/87.0 kB 9.6 MB/s eta 0:00:00 Collecting tflite-support==0.1.0a0 Downloading tflite-support-0.1.0a0.tar.gz (258 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 258.8/258.8 kB 23.9 MB/s eta 0:00:00 Preparing metadata (setup.py) … done Collecting tf-models-nightly Downloading tf_models_nightly-2.12.0.dev20230426-py2.py3-none-any.whl (2.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.6/2.6 MB 90.1 MB/s eta 0:00:00 Collecting pybind11>=2.4 Using cached pybind11-2.10.4-py3-none-any.whl (222 kB) Requirement already satisfied: promise in /usr/local/lib/python3.10/dist-packages (from tensorflow-datasets>=2.1.0->tflite-model-maker) (2.3) Requirement already satisfied: protobuf>=3.12.2 in /usr/local/lib/python3.10/dist-packages (from tensorflow-datasets>=2.1.0->tflite-model-maker) (3.20.3) Requirement already satisfied: requests>=2.19.0 in /usr/local/lib/python3.10/dist-packages (from tensorflow-datasets>=2.1.0->tflite-model-maker) (2.27.1) Requirement already satisfied: dm-tree in /usr/local/lib/python3.10/dist-packages (from tensorflow-datasets>=2.1.0->tflite-model-maker) (0.1.8) Requirement already satisfied: tensorflow-metadata in /usr/local/lib/python3.10/dist-packages (from tensorflow-datasets>=2.1.0->tflite-model-maker) (1.13.1) Requirement already satisfied: tqdm in /usr/local/lib/python3.10/dist-packages (from tensorflow-datasets>=2.1.0->tflite-model-maker) (4.65.0) Requirement already satisfied: termcolor in /usr/local/lib/python3.10/dist-packages (from tensorflow-datasets>=2.1.0->tflite-model-maker) (2.3.0) Requirement already satisfied: wrapt in /usr/local/lib/python3.10/dist-packages (from tensorflow-datasets>=2.1.0->tflite-model-maker) (1.14.1) Requirement already satisfied: etils[enp,epath]>=0.9.0 in /usr/local/lib/python3.10/dist-packages (from tensorflow-datasets>=2.1.0->tflite-model-maker) (1.2.0) Requirement already satisfied: click in /usr/local/lib/python3.10/dist-packages (from tensorflow-datasets>=2.1.0->tflite-model-maker) (8.1.3) Requirement already satisfied: psutil in /usr/local/lib/python3.10/dist-packages (from tensorflow-datasets>=2.1.0->tflite-model-maker) (5.9.5) Requirement already satisfied: toml in /usr/local/lib/python3.10/dist-packages (from tensorflow-datasets>=2.1.0->tflite-model-maker) (0.10.2) Collecting immutabledict Downloading immutabledict-2.2.4-py3-none-any.whl (4.1 kB) Collecting pyyaml<6.0,>=5.1 Downloading PyYAML-5.4.1.tar.gz (175 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 175.1/175.1 kB 19.8 MB/s eta 0:00:00 Installing build dependencies … done Getting requirements to build wheel … done Preparing metadata (pyproject.toml) … done Requirement already satisfied: opencv-python-headless in /usr/local/lib/python3.10/dist-packages (from tf-models-nightly->tflite-model-maker) (4.7.0.72) Collecting sacrebleu Downloading sacrebleu-2.3.1-py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.9/118.9 kB 12.3 MB/s eta 0:00:00 Requirement already satisfied: py-cpuinfo>=3.3.0 in /usr/local/lib/python3.10/dist-packages (from tf-models-nightly->tflite-model-maker) (9.0.0) Requirement already satisfied: google-api-python-client>=1.6.7 in /usr/local/lib/python3.10/dist-packages (from tf-models-nightly->tflite-model-maker) (2.84.0) Requirement already satisfied: scipy>=0.19.1 in /usr/local/lib/python3.10/dist-packages (from tf-models-nightly->tflite-model-maker) (1.10.1) Requirement already satisfied: tf-slim>=1.1.0 in /usr/local/lib/python3.10/dist-packages (from tf-models-nightly->tflite-model-maker) (1.1.0) Collecting tensorflow-text-nightly Downloading tensorflow_text_nightly-2.13.0.dev20230424-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.5/6.5 MB 79.8 MB/s eta 0:00:00 Requirement already satisfied: oauth2client in /usr/local/lib/python3.10/dist-packages (from tf-models-nightly->tflite-model-maker) (4.1.3) Requirement already satisfied: pandas>=0.22.0 in /usr/local/lib/python3.10/dist-packages (from tf-models-nightly->tflite-model-maker) (1.5.3) Requirement already satisfied: kaggle>=1.3.9 in /usr/local/lib/python3.10/dist-packages (from tf-models-nightly->tflite-model-maker) (1.5.13) Collecting seqeval Downloading seqeval-1.2.2.tar.gz (43 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 43.6/43.6 kB 4.9 MB/s eta 0:00:00 Preparing metadata (setup.py) … done Requirement already satisfied: pycocotools in /usr/local/lib/python3.10/dist-packages (from tf-models-nightly->tflite-model-maker) (2.0.6) Requirement already satisfied: gin-config in /usr/local/lib/python3.10/dist-packages (from tf-models-nightly->tflite-model-maker) (0.5.0) Collecting tensorflow-model-optimization>=0.4.1 Downloading tensorflow_model_optimization-0.7.4-py2.py3-none-any.whl (240 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 240.6/240.6 kB 25.4 MB/s eta 0:00:00 Requirement already satisfied: matplotlib in /usr/local/lib/python3.10/dist-packages (from tf-models-nightly->tflite-model-maker) (3.7.1) Collecting tf-nightly Downloading tf_nightly-2.13.0.dev20230427-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (524.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 524.0/524.0 MB 2.7 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230426-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (524.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 524.6/524.6 MB 2.4 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230425-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (524.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 524.7/524.7 MB 2.9 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230424-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (524.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 524.6/524.6 MB 2.6 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230420-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (522.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 522.9/522.9 MB 2.8 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230419-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (598.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 598.5/598.5 MB 2.5 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230418-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (598.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 598.3/598.3 MB 2.7 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230417-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (598.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 598.3/598.3 MB 2.5 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230416-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (598.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 598.3/598.3 MB 2.3 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230415-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (598.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 598.3/598.3 MB 2.3 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230414-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (598.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 598.3/598.3 MB 2.5 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230413-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (597.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 597.3/597.3 MB 2.3 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230412-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (597.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 597.2/597.2 MB 2.6 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230411-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (521.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 521.7/521.7 MB 2.6 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230410-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (596.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 596.9/596.9 MB 2.5 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230409-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (596.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 596.9/596.9 MB 2.5 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230408-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (597.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 597.0/597.0 MB 2.4 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230406-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (596.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 596.8/596.8 MB 2.5 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230405-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (596.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 596.8/596.8 MB 2.3 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230404-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (596.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 596.9/596.9 MB 2.3 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230403-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (596.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 596.9/596.9 MB 2.4 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230402-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (596.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 596.8/596.8 MB 2.5 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230401-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (596.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 596.8/596.8 MB 2.3 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230331-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (596.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 596.8/596.8 MB 2.3 MB/s eta 0:00:00 Requirement already satisfied: packaging in /usr/local/lib/python3.10/dist-packages (from tf-nightly->tflite-model-maker) (23.1) Requirement already satisfied: grpcio<2.0,>=1.24.3 in /usr/local/lib/python3.10/dist-packages (from tf-nightly->tflite-model-maker) (1.54.0) Requirement already satisfied: opt-einsum>=2.3.2 in /usr/local/lib/python3.10/dist-packages (from tf-nightly->tflite-model-maker) (3.3.0) Requirement already satisfied: astunparse>=1.6.0 in /usr/local/lib/python3.10/dist-packages (from tf-nightly->tflite-model-maker) (1.6.3) Requirement already satisfied: tensorflow-io-gcs-filesystem>=0.23.1 in /usr/local/lib/python3.10/dist-packages (from tf-nightly->tflite-model-maker) (0.32.0) Requirement already satisfied: libclang>=13.0.0 in /usr/local/lib/python3.10/dist-packages (from tf-nightly->tflite-model-maker) (16.0.0) Requirement already satisfied: h5py>=2.9.0 in /usr/local/lib/python3.10/dist-packages (from tf-nightly->tflite-model-maker) (3.8.0) Requirement already satisfied: setuptools in /usr/local/lib/python3.10/dist-packages (from tf-nightly->tflite-model-maker) (67.7.2) Requirement already satisfied: gast<=0.4.0,>=0.2.1 in /usr/local/lib/python3.10/dist-packages (from tf-nightly->tflite-model-maker) (0.4.0) Downloading tf_nightly-2.13.0.dev20230330-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (596.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 596.8/596.8 MB 1.6 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230329-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (596.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 596.4/596.4 MB 1.4 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230328-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (596.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 596.3/596.3 MB 2.0 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230327-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (596.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 596.4/596.4 MB 2.3 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230326-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (596.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 596.4/596.4 MB 2.4 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230325-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (596.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 596.4/596.4 MB 2.5 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230324-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (596.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 596.4/596.4 MB 2.6 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230323-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (596.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 596.2/596.2 MB 2.3 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230322-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (596.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 596.0/596.0 MB 2.2 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230321-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (595.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 595.9/595.9 MB 2.4 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230319-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (595.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 595.8/595.8 MB 2.5 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230318-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (595.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 595.9/595.9 MB 2.6 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230316-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (595.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 595.8/595.8 MB 2.6 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230315-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (596.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 596.4/596.4 MB 2.3 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230314-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (591.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 591.3/591.3 MB 2.2 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230313-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (591.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 591.0/591.0 MB 2.5 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230312-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (591.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 591.0/591.0 MB 2.4 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230310-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (590.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 590.9/590.9 MB 2.4 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230309-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (589.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 589.7/589.7 MB 2.4 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230308-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (589.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 589.5/589.5 MB 2.6 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230307-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (589.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 589.2/589.2 MB 2.1 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230306-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (589.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 589.1/589.1 MB 2.2 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230305-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (589.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 589.1/589.1 MB 2.3 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230304-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (589.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 589.1/589.1 MB 2.5 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230302-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (588.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 588.0/588.0 MB 2.4 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230301-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (591.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 591.6/591.6 MB 2.3 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230228-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (591.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 591.6/591.6 MB 2.6 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230227-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (589.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 589.4/589.4 MB 2.1 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230226-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (589.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 589.3/589.3 MB 2.3 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230224-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (589.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 589.6/589.6 MB 2.5 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230223-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (589.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 589.4/589.4 MB 2.3 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230222-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (589.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 589.3/589.3 MB 2.6 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230220-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (589.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 589.1/589.1 MB 2.4 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230219-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (589.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 589.1/589.1 MB 2.4 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230218-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (589.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 589.1/589.1 MB 2.2 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230217-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (589.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 589.1/589.1 MB 2.3 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230216-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (589.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 589.5/589.5 MB 2.4 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230215-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (589.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 589.4/589.4 MB 2.6 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230214-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (589.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 589.2/589.2 MB 2.2 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230213-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (587.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 587.8/587.8 MB 2.5 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230212-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (587.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 587.8/587.8 MB 2.6 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230211-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (587.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 587.7/587.7 MB 2.3 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230210-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (587.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 587.7/587.7 MB 2.4 MB/s eta 0:00:00 Collecting tb-nightly~=2.12.0.a Downloading tb_nightly-2.12.0a20230209-py3-none-any.whl (5.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.6/5.6 MB 85.7 MB/s eta 0:00:00 Collecting tf-nightly Downloading tf_nightly-2.13.0.dev20230209-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (587.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 587.3/587.3 MB 2.3 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230208-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (586.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 586.9/586.9 MB 2.2 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230207-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (586.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 586.4/586.4 MB 2.5 MB/s eta 0:00:00 Downloading tf_nightly-2.13.0.dev20230206-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (585.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 585.9/585.9 MB 1.7 MB/s eta 0:00:00 Downloading tf_nightly-2.12.0.dev20230203-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (585.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 585.9/585.9 MB 2.2 MB/s eta 0:00:00 Downloading tf_nightly-2.12.0.dev20230201-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (586.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 586.6/586.6 MB 2.3 MB/s eta 0:00:00 INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of tf-models-nightly to determine which version is compatible with other requirements. This could take a while. Collecting tf-models-nightly Downloading tf_models_nightly-2.12.0.dev20230425-py2.py3-none-any.whl (2.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.6/2.6 MB 69.6 MB/s eta 0:00:00 INFO: pip is looking at multiple versions of sentencepiece to determine which version is compatible with other requirements. This could take a while. Collecting sentencepiece Downloading sentencepiece-0.1.97-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 54.4 MB/s eta 0:00:00 INFO: pip is looking at multiple versions of pillow to determine which version is compatible with other requirements. This could take a while. Collecting pillow Downloading Pillow-9.5.0-cp310-cp310-manylinux_2_28_x86_64.whl (3.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 68.3 MB/s eta 0:00:00 INFO: pip is looking at multiple versions of fire to determine which version is compatible with other requirements. This could take a while. Collecting fire Downloading fire-0.4.0.tar.gz (87 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 87.7/87.7 kB 9.9 MB/s eta 0:00:00 Preparing metadata (setup.py) … done INFO: pip is looking at multiple versions of tensorflow-hub to determine which version is compatible with other requirements. This could take a while. Collecting tensorflow-hub>=0.8.0 Downloading tensorflow_hub-0.13.0-py2.py3-none-any.whl (100 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.6/100.6 kB 11.3 MB/s eta 0:00:00 INFO: pip is looking at multiple versions of tensorflow-datasets to determine which version is compatible with other requirements. This could take a while. Collecting tensorflow-datasets>=2.1.0 Downloading tensorflow_datasets-4.9.2-py3-none-any.whl (5.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.4/5.4 MB 89.6 MB/s eta 0:00:00 INFO: pip is looking at multiple versions of numpy to determine which version is compatible with other requirements. This could take a while. Collecting numpy>=1.17.3 Downloading numpy-1.24.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.3/17.3 MB 70.3 MB/s eta 0:00:00 Downloading numpy-1.23.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.1/17.1 MB 74.9 MB/s eta 0:00:00 INFO: pip is looking at multiple versions of absl-py to determine which version is compatible with other requirements. This could take a while. Collecting absl-py Downloading absl_py-1.4.0-py3-none-any.whl (126 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 126.5/126.5 kB 15.5 MB/s eta 0:00:00 INFO: pip is looking at multiple versions of tflite-support to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of flatbuffers to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of tflite-model-maker to determine which version is compatible with other requirements. This could take a while. Collecting tflite-model-maker Downloading tflite_model_maker-0.1.0-py3-none-any.whl (84 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.6/84.6 kB 10.4 MB/s eta 0:00:00 ERROR: Cannot install tflite-model-maker==0.1.2, tflite-model-maker==0.2.0, tflite-model-maker==0.2.1, tflite-model-maker==0.2.2, tflite-model-maker==0.2.3, tflite-model-maker==0.2.4, tflite-model-maker==0.2.5, tflite-model-maker==0.3.0, tflite-model-maker==0.3.1, tflite-model-maker==0.3.2, tflite-model-maker==0.3.3, tflite-model-maker==0.3.4, tflite-model-maker==0.4.0, tflite-model-maker==0.4.1 and tflite-model-maker==0.4.2 because these package versions have conflicting dependencies.

The conflict is caused by: tflite-model-maker 0.4.2 depends on tflite-support>=0.4.2 tflite-model-maker 0.4.1 depends on scann==1.2.6 tflite-model-maker 0.4.0 depends on tflite-support>=0.4.0 tflite-model-maker 0.3.4 depends on tflite-support>=0.3.1 tflite-model-maker 0.3.3 depends on tflite-support>=0.3.1 tflite-model-maker 0.3.2 depends on tflite-support>=0.1.0rc4 tflite-model-maker 0.3.1 depends on tflite-support>=0.1.0rc4 tflite-model-maker 0.3.0 depends on tflite-support>=0.1.0rc4 tflite-model-maker 0.2.5 depends on tflite-support==0.1.0rc4 tflite-model-maker 0.2.4 depends on tflite-support==0.1.0rc4 tflite-model-maker 0.2.3 depends on tflite-support==0.1.0rc3.dev2 tflite-model-maker 0.2.2 depends on tflite-support==0.1.0rc3.dev2 tflite-model-maker 0.2.1 depends on tflite-support==0.1.0rc3.dev2 tflite-model-maker 0.2.0 depends on tf-nightly==2.4.0.dev20200810 tflite-model-maker 0.1.2 depends on tflite-support==0.1.0rc3.dev2

To fix this you could try to:

  1. loosen the range of package versions you’ve specified
  2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Reactions: 3
  • Comments: 133 (5 by maintainers)

Most upvoted comments

I found a fix for this yesterday for using model maker on Colab.

Use the command Palette in colab with cmd+shift+P. Then type “use fallback runtime version” and select. This will roll back to Python 3.9.16 runtime and tflite-model-maker can be installed. Screenshot 2023-05-03 at 12 42 48 PM

Edit: You need to connect to a runtime first, then the option will be available and it will restart with 3.9.16 instead of 3.10.

Also just a heads up that apparently this will only be available until mid-May so a fix for 3.10 probably is still needed to work with Colab after that.

Screenshot 2023-05-04 at 1 13 57 AM

I am also facing the same issue when installing !pip install -q tflite-model-maker the downloading continues to infinity and fill the storage of the google colab env. Also the issue continues if we try to do on the local machine. Looks like it downloads again and again the same thing. Kindly fix the issue

at local machine: image

at colab env

Reading package lists... Done
Building dependency tree       
Reading state information... Done
libportaudio2 is already the newest version (19.6.0-1build1).
0 upgraded, 0 newly installed, 0 to remove and 24 not upgraded.
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 37.9/37.9 MB 17.6 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 128.6/128.6 kB 14.0 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.5/77.5 kB 9.4 MB/s eta 0:00:00
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.3/103.3 kB 13.6 MB/s eta 0:00:00
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 127.5/127.5 kB 16.2 MB/s eta 0:00:00
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 460.5/460.5 kB 39.8 MB/s eta 0:00:00
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 459.9/459.9 kB 43.9 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
  Preparing metadata (setup.py) ... done
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 440.9/440.9 kB 32.8 MB/s eta 0:00:00
     ━━━━━━━━━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━ 251.1/588.0 MB 55.4 MB/s eta 0:00:07
ERROR: Exception:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/pip/_vendor/urllib3/response.py", line 438, in _error_catcher
    yield
  File "/usr/local/lib/python3.10/dist-packages/pip/_vendor/urllib3/response.py", line 561, in read
    data = self._fp_read(amt) if not fp_closed else b""
  File "/usr/local/lib/python3.10/dist-packages/pip/_vendor/urllib3/response.py", line 527, in _fp_read
    return self._fp.read(amt) if amt is not None else self._fp.read()
  File "/usr/local/lib/python3.10/dist-packages/pip/_vendor/cachecontrol/filewrapper.py", line 94, in read
    self.__buf.write(data)
  File "/usr/lib/python3.10/tempfile.py", line 622, in func_wrapper
    return func(*args, **kwargs)
OSError: [Errno 28] No space left on device

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/cli/base_command.py", line 160, in exc_logging_wrapper
    status = run_func(*args)
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/cli/req_command.py", line 241, in wrapper
    return func(self, options, args)
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/commands/install.py", line 419, in run
    requirement_set = resolver.resolve(
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 92, in resolve
    result = self._result = resolver.resolve(
  File "/usr/local/lib/python3.10/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 481, in resolve
    state = resolution.resolve(requirements, max_rounds=max_rounds)
  File "/usr/local/lib/python3.10/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 373, in resolve
    failure_causes = self._attempt_to_pin_criterion(name)
  File "/usr/local/lib/python3.10/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 211, in _attempt_to_pin_criterion
    for candidate in criterion.candidates:
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in <genexpr>
    return (c for c in iterator if id(c) not in self._incompatible_ids)
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built
    candidate = func()
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 206, in _make_candidate_from_link
    self._link_candidate_cache[link] = LinkCandidate(
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 297, in __init__
    super().__init__(
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 162, in __init__
    self.dist = self._prepare()
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 231, in _prepare
    dist = self._prepare_distribution()
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 308, in _prepare_distribution
    return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/operations/prepare.py", line 491, in prepare_linked_requirement
    return self._prepare_linked_requirement(req, parallel_builds)
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/operations/prepare.py", line 536, in _prepare_linked_requirement
    local_file = unpack_url(
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/operations/prepare.py", line 166, in unpack_url
    file = get_http_url(
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/operations/prepare.py", line 107, in get_http_url
    from_path, content_type = download(link, temp_dir.path)
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/network/download.py", line 147, in __call__
    for chunk in chunks:
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/cli/progress_bars.py", line 53, in _rich_progress_bar
    for chunk in iterable:
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/network/utils.py", line 63, in response_chunks
    for chunk in response.raw.stream(
  File "/usr/local/lib/python3.10/dist-packages/pip/_vendor/urllib3/response.py", line 622, in stream
    data = self.read(amt=amt, decode_content=decode_content)
  File "/usr/local/lib/python3.10/dist-packages/pip/_vendor/urllib3/response.py", line 560, in read
    with self._error_catcher():
  File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/usr/local/lib/python3.10/dist-packages/pip/_vendor/urllib3/response.py", line 455, in _error_catcher
    raise ProtocolError("Connection broken: %r" % e, e)
pip._vendor.urllib3.exceptions.ProtocolError: ("Connection broken: OSError(28, 'No space left on device')", OSError(28, 'No space left on device'))
--- Logging error ---
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/pip/_vendor/urllib3/response.py", line 438, in _error_catcher
    yield
  File "/usr/local/lib/python3.10/dist-packages/pip/_vendor/urllib3/response.py", line 561, in read
    data = self._fp_read(amt) if not fp_closed else b""
  File "/usr/local/lib/python3.10/dist-packages/pip/_vendor/urllib3/response.py", line 527, in _fp_read
    return self._fp.read(amt) if amt is not None else self._fp.read()
  File "/usr/local/lib/python3.10/dist-packages/pip/_vendor/cachecontrol/filewrapper.py", line 94, in read
    self.__buf.write(data)
  File "/usr/lib/python3.10/tempfile.py", line 622, in func_wrapper
    return func(*args, **kwargs)
OSError: [Errno 28] No space left on device

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/cli/base_command.py", line 160, in exc_logging_wrapper
    status = run_func(*args)
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/cli/req_command.py", line 241, in wrapper
    return func(self, options, args)
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/commands/install.py", line 419, in run
    requirement_set = resolver.resolve(
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 92, in resolve
    result = self._result = resolver.resolve(
  File "/usr/local/lib/python3.10/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 481, in resolve
    state = resolution.resolve(requirements, max_rounds=max_rounds)
  File "/usr/local/lib/python3.10/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 373, in resolve
    failure_causes = self._attempt_to_pin_criterion(name)
  File "/usr/local/lib/python3.10/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 211, in _attempt_to_pin_criterion
    for candidate in criterion.candidates:
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in <genexpr>
    return (c for c in iterator if id(c) not in self._incompatible_ids)
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built
    candidate = func()
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 206, in _make_candidate_from_link
    self._link_candidate_cache[link] = LinkCandidate(
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 297, in __init__
    super().__init__(
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 162, in __init__
    self.dist = self._prepare()
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 231, in _prepare
    dist = self._prepare_distribution()
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 308, in _prepare_distribution
    return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/operations/prepare.py", line 491, in prepare_linked_requirement
    return self._prepare_linked_requirement(req, parallel_builds)
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/operations/prepare.py", line 536, in _prepare_linked_requirement
    local_file = unpack_url(
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/operations/prepare.py", line 166, in unpack_url
    file = get_http_url(
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/operations/prepare.py", line 107, in get_http_url
    from_path, content_type = download(link, temp_dir.path)
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/network/download.py", line 147, in __call__
    for chunk in chunks:
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/cli/progress_bars.py", line 53, in _rich_progress_bar
    for chunk in iterable:
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/network/utils.py", line 63, in response_chunks
    for chunk in response.raw.stream(
  File "/usr/local/lib/python3.10/dist-packages/pip/_vendor/urllib3/response.py", line 622, in stream
    data = self.read(amt=amt, decode_content=decode_content)
  File "/usr/local/lib/python3.10/dist-packages/pip/_vendor/urllib3/response.py", line 560, in read
    with self._error_catcher():
  File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/usr/local/lib/python3.10/dist-packages/pip/_vendor/urllib3/response.py", line 455, in _error_catcher
    raise ProtocolError("Connection broken: %r" % e, e)
pip._vendor.urllib3.exceptions.ProtocolError: ("Connection broken: OSError(28, 'No space left on device')", OSError(28, 'No space left on device'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.10/logging/__init__.py", line 1104, in emit
    self.flush()
  File "/usr/lib/python3.10/logging/__init__.py", line 1084, in flush
    self.stream.flush()
OSError: [Errno 28] No space left on device
Call stack:
  File "/usr/local/bin/pip3", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/cli/main.py", line 70, in main
    return command.main(cmd_args)
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/cli/base_command.py", line 101, in main
    return self._main(args)
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/cli/base_command.py", line 214, in _main
    return run(options, args)
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/cli/base_command.py", line 202, in exc_logging_wrapper
    logger.critical("Exception:", exc_info=True)
Message: 'Exception:'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.10/logging/__init__.py", line 1104, in emit
    self.flush()
  File "/usr/lib/python3.10/logging/__init__.py", line 1084, in flush
    self.stream.flush()
OSError: [Errno 28] No space left on device
Call stack:
  File "/usr/local/bin/pip3", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/cli/main.py", line 70, in main
    return command.main(cmd_args)
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/cli/base_command.py", line 100, in main
    with self.main_context():
  File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
    next(self.gen)
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/cli/command_context.py", line 19, in main_context
    with self._main_context:
  File "/usr/lib/python3.10/contextlib.py", line 561, in __exit__
    if cb(*exc_details):
  File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
    next(self.gen)
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/operations/build/build_tracker.py", line 50, in get_build_tracker
    with BuildTracker(root) as tracker:
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/operations/build/build_tracker.py", line 70, in __exit__
    self.cleanup()
  File "/usr/local/lib/python3.10/dist-packages/pip/_internal/operations/build/build_tracker.py", line 118, in cleanup
    logger.debug("Removed build tracker: %r", self._root)
Message: 'Removed build tracker: %r'
Arguments: ('/tmp/pip-build-tracker-fya0r08r',)

Is there any change that the issue can be fixed?

any update on this? thesis defense is closing in and we need this resolved 😦

It’s working now control+shift+p @tomkuzma Thanks

This has now stopped working for me.

image

it seems that the workaround is not working anymore

Any update 😦

Alright I’m back with another fix for this problem. @mehlkelm @UsamaHameed1

Even though you can make a conda environment in colab, it will still always use the colab runtime python version. But you can force it to use the environment by using a bash script and activate it every time you need to use it. Unfortunately this means that you can’t use cells for python code, but instead you can just have it run a python file with all the code you need to use.

I’ve got it working in this notebook. There was a few dependencies like numpy that needed a specific version installation, but after that it was working and training as you can see in the screenshot. Just make your own python file to run for training and you should be good to go.

https://colab.research.google.com/drive/1LyBdPasEGdko4vZBLOKWeGz8KNTug8UX?usp=sharing

image

Looks like support for model maker is ending so this is a forced workaround, so whoever is relying on it might want to migrate to the new version called Mediapipe as mentioned in here https://github.com/tensorflow/tensorflow/issues/60431#issuecomment-1550606596

The installation error of Model Maker in Colab is because tflite-support (a dependency of Model Maker) is not supported on Python 3.10 yet. We’ll try release a new version of tflite-support that can run with Python 3.10.

At the same time, you can either fall back to Python 3.9 in Colab like this answer, or use MediaPipe Model Maker, the upgraded version of TFLite Model Maker.

I have solved with another way which works Python 3.9 at colab. Here the code. Just copy or import ipynb file and

  • download your dataset as Pascal Voc format. (Wich I am using Roboflow for that. (example at cell# 3)
  • Choose the effiendet model ( cell# 5 line: 135 -> spec = model_spec.get(‘efficientdet_lite2’)
  • Choose the epochs etc cell#5 line 137
  • and go on running colab.

same issue in colab with Python 3.10.12

Check this, https://github.com/TnzTanim/Android-App-TFlite-object-detection

It worked, successfully installed model maker. I found the solution from this discussion.

Is there any updates on this issue? Im trying to install tf-model-maker with all the instructions that i read on this topic but no success… I’m having the same issue as everyone, when trying to install it takes forever, even if i change the runtime environment cannot install…

its dead use this instead https://developers.google.com/mediapipe/solutions/model_maker

@ziyeqinghan @lu-wang-g @sachinprasadhs Thank you for this repo. When can we expect compatibility with Python 3.10? I am one of the many who cannot continue without your help.

Same issue , Tried git clone , nightly options. Also tried installing requirements.txt before the pip install. Nothing worked.

No progress, sorry 😦 @synandi any chances you have seen the bug report?

@Huxwell have you found any solution to the problem yet?

most googles are quiet quitters that’s why these things never get fixed

Is there a chance that the dependency issue will be fixed? I am working on a major project which is built on this library.

The python 3.9.16 fixed the issues in codelab, but locally (in conda env with python 3.9.16) I still have infinity download issue.

Is there any solution to the problem so far?

@Huxwell , @UsamaHameed1 , Thanks for reporting the issue. This looks like package distribution issue with python 3.10, to narrow down the issue, could you please help us testing with Python 3.9 environment and let us know if you face the same issue for pip install tflite-model-maker and pip install tflite-model-maker-nightly

Hi @Huxwell, Apologies for the inconvience. We are working on it. We’ll update here soon. Thank you!

I’m facing the same issue, I was able to install it without errors a month ago. Are there any fixes for it yet?

Occurred same issue.

Yeah there is still no fix for this - supper annoying.

Hi all, apologies for all the frustration. This issue is unlikely to be resolved soon, as sachinprasadhs noted above please use mediapipe model maker instead for now. Here is also a gist that runs through some image classification examples with mediapipe model maker, including quantization: gist. If you can’t accomplish your goals with mediapipe-model-maker please let us know and we’ll see if there is a way to accomplish your goals.

I want to train an objectdetection (not classification) model with good accuracy like EfficientDet2 and I would prefer to be able to resume training

It’s been a while, Tensorflow should fix this immediately

Your train.py and the other files have to be in the folder /content/drive/MyDrive/TrainData. See https://github.com/robodhhb/Smart-Modelrailway-Cam/tree/main/20_Example_Training/20_Data for updated explanations.

I tried this:

%env PYTHONPATH= !wget https://repo.anaconda.com/miniconda/Miniconda3-py39_23.3.1-0-Linux-x86_64.sh !chmod +x Miniconda3-py39_23.3.1-0-Linux-x86_64.sh !bash ./Miniconda3-py39_23.3.1-0-Linux-x86_64.sh -b -f -p /usr/local/ !which conda !conda --version !python --version !pip install “tensorflow<=2.8” tflite-model-maker==0.4.0 “numpy<=1.21” scann==1.2.6

This is my result … i cant import tflit-model-maker … but it’ installed… Screenshot 2023-06-02 154156

For me, the workaround from @tomkuzma works in colab. I still get warnings or even errors when I import tflite-model-maker, but simply rerunning the cell helps. I am able to successfully train my models. Thank you again @tomkuzma for sharing this, each one of us owns you a good craft beer…

@tomkuzma There is a dependency conflict error

У меня все получилось но вобще планируется это исправлять в новой версии python?

@Huxwell you need to connect to a runtime first, then should be available.

@tomkuzma that worked for me!

У меня тоже проблема с tflite-model-maker на позопрошлой недели все работало а потом я решил обучить модель на прошлых выходных и все бесконечная загрузка и заполняет диск

Same problem here is there any other way to use lib ? Am new to pip and python btw 😃

Apparently there is a conflict in requirements for numpy version when using python 3.8.1.

I was able to install on python 3.8.1, but import import tflite_model_maker results in AttributeError: module 'numpy' has no attribute 'object'. , so clearly I have wrong numpy version and pip didn’t notice.

The aliases was originally deprecated in NumPy 1.20; so I did pip install --upgrade numpy==1.19 but then importing model-maker results in `ImportError: this version of pandas is incompatible with numpy < 1.20.3 your numpy version is 1.19.0. Please upgrade numpy to >= 1.20.3 to use this pandas version.

I have also tried pip install tflite-model-maker-nightly but it has similar issues.

BTW thanks for your support, I know that wheel packaging, pip, and dependencies are extremally frustrating for all parties involved. The lib is available to use free of charge, and you still are trying to help us.

@Huxwell So from this issue resolved or not ?

@sachinprasadhs so i have tried the above mentioned instructions with google colab env Python 3.9.16 image

when i tried pip install tflite-model-maker The following log came: ERROR: tensorflow 2.12.0 has requirement numpy<1.24,>=1.22, but you'll have numpy 1.24.3 which is incompatible. ERROR: tensorflow 2.12.0 has requirement wrapt<1.15,>=1.11.0, but you'll have wrapt 1.15.0 which is incompatible. ERROR: tflite-support 0.4.3 has requirement protobuf<4,>=3.18.0, but you'll have protobuf 4.22.3 which is incompatible. ERROR: tensorflowjs 3.18.0 has requirement packaging~=20.9, but you'll have packaging 23.1 which is incompatible. ERROR: scann 1.2.6 has requirement tensorflow~=2.8.0, but you'll have tensorflow 2.12.0 which is incompatible.

Screenshot : image

when i tried pip install tflite-model-maker-nightly

Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/ Collecting tflite-model-maker-nightly Downloading tflite_model_maker_nightly-0.4.3.dev202305020507-py3-none-any.whl (577 kB) |████████████████████████████████| 577 kB 12.0 MB/s Requirement already satisfied: absl-py>=0.10.0 in /usr/local/lib/python3.9/dist-packages (from tflite-model-maker-nightly) (1.4.0) Requirement already satisfied: tensorflow-hub<0.13,>=0.7.0; python_version >= "3" in /usr/local/lib/python3.9/dist-packages (from tflite-model-maker-nightly) (0.12.0) Requirement already satisfied: pillow>=7.0.0 in /usr/local/lib/python3.9/dist-packages (from tflite-model-maker-nightly) (9.5.0) Requirement already satisfied: matplotlib<3.5.0,>=3.0.3 in /usr/local/lib/python3.9/dist-packages (from tflite-model-maker-nightly) (3.4.3) Requirement already satisfied: six>=1.12.0 in /usr/local/lib/python3.9/dist-packages (from tflite-model-maker-nightly) (1.16.0) Requirement already satisfied: fire>=0.3.1 in /usr/local/lib/python3.9/dist-packages (from tflite-model-maker-nightly) (0.5.0) Requirement already satisfied: numba==0.53 in /usr/local/lib/python3.9/dist-packages (from tflite-model-maker-nightly) (0.53.0) Requirement already satisfied: tensorflowjs<3.19.0,>=2.4.0 in /usr/local/lib/python3.9/dist-packages (from tflite-model-maker-nightly) (3.18.0) Requirement already satisfied: scann==1.2.6 in /usr/local/lib/python3.9/dist-packages (from tflite-model-maker-nightly) (1.2.6) Requirement already satisfied: numpy>=1.17.3 in /usr/local/lib/python3.9/dist-packages (from tflite-model-maker-nightly) (1.24.3) Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.9/dist-packages (from tflite-model-maker-nightly) (1.25.11) Requirement already satisfied: librosa==0.8.1 in /usr/local/lib/python3.9/dist-packages (from tflite-model-maker-nightly) (0.8.1) Requirement already satisfied: tf-models-official==2.3.0 in /usr/local/lib/python3.9/dist-packages (from tflite-model-maker-nightly) (2.3.0) Requirement already satisfied: lxml>=4.6.1 in /usr/local/lib/python3.9/dist-packages (from tflite-model-maker-nightly) (4.9.2) Requirement already satisfied: tensorflow-model-optimization>=0.5 in /usr/local/lib/python3.9/dist-packages (from tflite-model-maker-nightly) (0.7.4) Requirement already satisfied: tensorflow-datasets>=2.1.0 in /usr/local/lib/python3.9/dist-packages (from tflite-model-maker-nightly) (4.9.2) Collecting tfa-nightly Downloading tfa_nightly-0.21.0.dev20230418145214-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (591 kB) |████████████████████████████████| 591 kB 75.8 MB/s Requirement already satisfied: PyYAML>=5.1 in /usr/local/lib/python3.9/dist-packages (from tflite-model-maker-nightly) (6.0) Requirement already satisfied: sentencepiece>=0.1.91 in /usr/local/lib/python3.9/dist-packages (from tflite-model-maker-nightly) (0.1.99) Collecting tflite-support-nightly Downloading tflite_support_nightly-0.4.4.dev20221103-cp39-cp39-manylinux2014_x86_64.whl (60.9 MB) |████████████████████████████████| 60.9 MB 1.2 MB/s Requirement already satisfied: flatbuffers>=2.0 in /usr/local/lib/python3.9/dist-packages (from tflite-model-maker-nightly) (23.3.3) Requirement already satisfied: tensorflow>=2.6.0 in /usr/local/lib/python3.9/dist-packages (from tflite-model-maker-nightly) (2.12.0) Requirement already satisfied: Cython>=0.29.13 in /usr/local/lib/python3.9/dist-packages (from tflite-model-maker-nightly) (0.29.34) Requirement already satisfied: neural-structured-learning>=1.3.1 in /usr/local/lib/python3.9/dist-packages (from tflite-model-maker-nightly) (1.4.0) Requirement already satisfied: protobuf>=3.8.0 in /usr/local/lib/python3.9/dist-packages (from tensorflow-hub<0.13,>=0.7.0; python_version >= "3"->tflite-model-maker-nightly) (4.22.3) Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.9/dist-packages (from matplotlib<3.5.0,>=3.0.3->tflite-model-maker-nightly) (1.4.4) Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.9/dist-packages (from matplotlib<3.5.0,>=3.0.3->tflite-model-maker-nightly) (0.11.0) Requirement already satisfied: python-dateutil>=2.7 in /usr/local/lib/python3.9/dist-packages (from matplotlib<3.5.0,>=3.0.3->tflite-model-maker-nightly) (2.8.2) Requirement already satisfied: pyparsing>=2.2.1 in /usr/local/lib/python3.9/dist-packages (from matplotlib<3.5.0,>=3.0.3->tflite-model-maker-nightly) (3.0.9) Requirement already satisfied: termcolor in /usr/local/lib/python3.9/dist-packages (from fire>=0.3.1->tflite-model-maker-nightly) (2.3.0) Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from numba==0.53->tflite-model-maker-nightly) (45.2.0) Requirement already satisfied: llvmlite<0.37,>=0.36.0rc1 in /usr/local/lib/python3.9/dist-packages (from numba==0.53->tflite-model-maker-nightly) (0.36.0) Collecting packaging~=20.9 Downloading packaging-20.9-py2.py3-none-any.whl (40 kB) |████████████████████████████████| 40 kB 6.1 MB/s Requirement already satisfied: decorator>=3.0.0 in /usr/local/lib/python3.9/dist-packages (from librosa==0.8.1->tflite-model-maker-nightly) (5.1.1) Requirement already satisfied: pooch>=1.0 in /usr/local/lib/python3.9/dist-packages (from librosa==0.8.1->tflite-model-maker-nightly) (1.7.0) Requirement already satisfied: resampy>=0.2.2 in /usr/local/lib/python3.9/dist-packages (from librosa==0.8.1->tflite-model-maker-nightly) (0.4.2) Requirement already satisfied: audioread>=2.0.0 in /usr/local/lib/python3.9/dist-packages (from librosa==0.8.1->tflite-model-maker-nightly) (3.0.0) Requirement already satisfied: scikit-learn!=0.19.0,>=0.14.0 in /usr/local/lib/python3.9/dist-packages (from librosa==0.8.1->tflite-model-maker-nightly) (1.2.2) Requirement already satisfied: joblib>=0.14 in /usr/local/lib/python3.9/dist-packages (from librosa==0.8.1->tflite-model-maker-nightly) (1.2.0) Requirement already satisfied: soundfile>=0.10.2 in /usr/local/lib/python3.9/dist-packages (from librosa==0.8.1->tflite-model-maker-nightly) (0.12.1) Requirement already satisfied: scipy>=1.0.0 in /usr/local/lib/python3.9/dist-packages (from librosa==0.8.1->tflite-model-maker-nightly) (1.10.1) Requirement already satisfied: pandas>=0.22.0 in /usr/local/lib/python3.9/dist-packages (from tf-models-official==2.3.0->tflite-model-maker-nightly) (2.0.1) Requirement already satisfied: psutil>=5.4.3 in /usr/local/lib/python3.9/dist-packages (from tf-models-official==2.3.0->tflite-model-maker-nightly) (5.9.5) Requirement already satisfied: google-cloud-bigquery>=0.31.0 in /usr/local/lib/python3.9/dist-packages (from tf-models-official==2.3.0->tflite-model-maker-nightly) (3.10.0) Requirement already satisfied: tensorflow-addons in /usr/local/lib/python3.9/dist-packages (from tf-models-official==2.3.0->tflite-model-maker-nightly) (0.20.0) Requirement already satisfied: py-cpuinfo>=3.3.0 in /usr/local/lib/python3.9/dist-packages (from tf-models-official==2.3.0->tflite-model-maker-nightly) (9.0.0) Requirement already satisfied: kaggle>=1.3.9 in /usr/local/lib/python3.9/dist-packages (from tf-models-official==2.3.0->tflite-model-maker-nightly) (1.5.13) Requirement already satisfied: google-api-python-client>=1.6.7 in /usr/local/lib/python3.9/dist-packages (from tf-models-official==2.3.0->tflite-model-maker-nightly) (2.86.0) Requirement already satisfied: tf-slim>=1.1.0 in /usr/local/lib/python3.9/dist-packages (from tf-models-official==2.3.0->tflite-model-maker-nightly) (1.1.0) Requirement already satisfied: dataclasses in /usr/local/lib/python3.9/dist-packages (from tf-models-official==2.3.0->tflite-model-maker-nightly) (0.6) Requirement already satisfied: opencv-python-headless in /usr/local/lib/python3.9/dist-packages (from tf-models-official==2.3.0->tflite-model-maker-nightly) (4.7.0.72) Requirement already satisfied: gin-config in /usr/local/lib/python3.9/dist-packages (from tf-models-official==2.3.0->tflite-model-maker-nightly) (0.5.0) Requirement already satisfied: dm-tree~=0.1.1 in /usr/local/lib/python3.9/dist-packages (from tensorflow-model-optimization>=0.5->tflite-model-maker-nightly) (0.1.8) Requirement already satisfied: array-record in /usr/local/lib/python3.9/dist-packages (from tensorflow-datasets>=2.1.0->tflite-model-maker-nightly) (0.2.0) Requirement already satisfied: requests>=2.19.0 in /usr/local/lib/python3.9/dist-packages (from tensorflow-datasets>=2.1.0->tflite-model-maker-nightly) (2.29.0) Requirement already satisfied: tqdm in /usr/local/lib/python3.9/dist-packages (from tensorflow-datasets>=2.1.0->tflite-model-maker-nightly) (4.65.0) Requirement already satisfied: wrapt in /usr/local/lib/python3.9/dist-packages (from tensorflow-datasets>=2.1.0->tflite-model-maker-nightly) (1.15.0) Requirement already satisfied: promise in /usr/local/lib/python3.9/dist-packages (from tensorflow-datasets>=2.1.0->tflite-model-maker-nightly) (2.3) Requirement already satisfied: tensorflow-metadata in /usr/local/lib/python3.9/dist-packages (from tensorflow-datasets>=2.1.0->tflite-model-maker-nightly) (1.13.1) Requirement already satisfied: toml in /usr/local/lib/python3.9/dist-packages (from tensorflow-datasets>=2.1.0->tflite-model-maker-nightly) (0.10.2) Requirement already satisfied: etils[enp,epath]>=0.9.0 in /usr/local/lib/python3.9/dist-packages (from tensorflow-datasets>=2.1.0->tflite-model-maker-nightly) (1.2.0) Requirement already satisfied: click in /usr/local/lib/python3.9/dist-packages (from tensorflow-datasets>=2.1.0->tflite-model-maker-nightly) (8.1.3) Requirement already satisfied: typeguard<3.0.0,>=2.7 in /usr/local/lib/python3.9/dist-packages (from tfa-nightly->tflite-model-maker-nightly) (2.13.3) Requirement already satisfied: pybind11>=2.6.0 in /usr/local/lib/python3.9/dist-packages (from tflite-support-nightly->tflite-model-maker-nightly) (2.10.4) Requirement already satisfied: sounddevice>=0.4.4 in /usr/local/lib/python3.9/dist-packages (from tflite-support-nightly->tflite-model-maker-nightly) (0.4.6) Requirement already satisfied: google-pasta>=0.1.1 in /usr/local/lib/python3.9/dist-packages (from tensorflow>=2.6.0->tflite-model-maker-nightly) (0.2.0) Requirement already satisfied: grpcio<2.0,>=1.24.3 in /usr/local/lib/python3.9/dist-packages (from tensorflow>=2.6.0->tflite-model-maker-nightly) (1.54.0) Requirement already satisfied: gast<=0.4.0,>=0.2.1 in /usr/local/lib/python3.9/dist-packages (from tensorflow>=2.6.0->tflite-model-maker-nightly) (0.4.0) Requirement already satisfied: keras<2.13,>=2.12.0 in /usr/local/lib/python3.9/dist-packages (from tensorflow>=2.6.0->tflite-model-maker-nightly) (2.12.0) Requirement already satisfied: opt-einsum>=2.3.2 in /usr/local/lib/python3.9/dist-packages (from tensorflow>=2.6.0->tflite-model-maker-nightly) (3.3.0) Requirement already satisfied: tensorboard<2.13,>=2.12 in /usr/local/lib/python3.9/dist-packages (from tensorflow>=2.6.0->tflite-model-maker-nightly) (2.12.3) Requirement already satisfied: typing-extensions>=3.6.6 in /usr/local/lib/python3.9/dist-packages (from tensorflow>=2.6.0->tflite-model-maker-nightly) (4.5.0) Requirement already satisfied: jax>=0.3.15 in /usr/local/lib/python3.9/dist-packages (from tensorflow>=2.6.0->tflite-model-maker-nightly) (0.4.8) Requirement already satisfied: tensorflow-io-gcs-filesystem>=0.23.1; platform_machine != "arm64" or platform_system != "Darwin" in /usr/local/lib/python3.9/dist-packages (from tensorflow>=2.6.0->tflite-model-maker-nightly) (0.32.0) Requirement already satisfied: libclang>=13.0.0 in /usr/local/lib/python3.9/dist-packages (from tensorflow>=2.6.0->tflite-model-maker-nightly) (16.0.0) Requirement already satisfied: astunparse>=1.6.0 in /usr/local/lib/python3.9/dist-packages (from tensorflow>=2.6.0->tflite-model-maker-nightly) (1.6.3) Requirement already satisfied: h5py>=2.9.0 in /usr/local/lib/python3.9/dist-packages (from tensorflow>=2.6.0->tflite-model-maker-nightly) (3.8.0) Requirement already satisfied: tensorflow-estimator<2.13,>=2.12.0 in /usr/local/lib/python3.9/dist-packages (from tensorflow>=2.6.0->tflite-model-maker-nightly) (2.12.0) Requirement already satisfied: attrs in /usr/local/lib/python3.9/dist-packages (from neural-structured-learning>=1.3.1->tflite-model-maker-nightly) (23.1.0) Requirement already satisfied: platformdirs>=2.5.0 in /usr/local/lib/python3.9/dist-packages (from pooch>=1.0->librosa==0.8.1->tflite-model-maker-nightly) (3.5.0) Requirement already satisfied: threadpoolctl>=2.0.0 in /usr/local/lib/python3.9/dist-packages (from scikit-learn!=0.19.0,>=0.14.0->librosa==0.8.1->tflite-model-maker-nightly) (3.1.0) Requirement already satisfied: cffi>=1.0 in /usr/local/lib/python3.9/dist-packages (from soundfile>=0.10.2->librosa==0.8.1->tflite-model-maker-nightly) (1.15.1) Requirement already satisfied: pytz>=2020.1 in /usr/local/lib/python3.9/dist-packages (from pandas>=0.22.0->tf-models-official==2.3.0->tflite-model-maker-nightly) (2023.3) Requirement already satisfied: tzdata>=2022.1 in /usr/local/lib/python3.9/dist-packages (from pandas>=0.22.0->tf-models-official==2.3.0->tflite-model-maker-nightly) (2023.3) Requirement already satisfied: google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0,<3.0.0dev,>=1.31.5 in /usr/local/lib/python3.9/dist-packages (from google-cloud-bigquery>=0.31.0->tf-models-official==2.3.0->tflite-model-maker-nightly) (2.11.0) Requirement already satisfied: proto-plus<2.0.0dev,>=1.15.0 in /usr/local/lib/python3.9/dist-packages (from google-cloud-bigquery>=0.31.0->tf-models-official==2.3.0->tflite-model-maker-nightly) (1.22.2) Requirement already satisfied: google-resumable-media<3.0dev,>=0.6.0 in /usr/local/lib/python3.9/dist-packages (from google-cloud-bigquery>=0.31.0->tf-models-official==2.3.0->tflite-model-maker-nightly) (2.5.0) Requirement already satisfied: google-cloud-core<3.0.0dev,>=1.6.0 in /usr/local/lib/python3.9/dist-packages (from google-cloud-bigquery>=0.31.0->tf-models-official==2.3.0->tflite-model-maker-nightly) (2.3.2) Requirement already satisfied: certifi in /usr/local/lib/python3.9/dist-packages (from kaggle>=1.3.9->tf-models-official==2.3.0->tflite-model-maker-nightly) (2022.12.7) Requirement already satisfied: python-slugify in /usr/local/lib/python3.9/dist-packages (from kaggle>=1.3.9->tf-models-official==2.3.0->tflite-model-maker-nightly) (8.0.1) Requirement already satisfied: google-auth-httplib2>=0.1.0 in /usr/local/lib/python3.9/dist-packages (from google-api-python-client>=1.6.7->tf-models-official==2.3.0->tflite-model-maker-nightly) (0.1.0) Requirement already satisfied: google-auth<3.0.0dev,>=1.19.0 in /usr/local/lib/python3.9/dist-packages (from google-api-python-client>=1.6.7->tf-models-official==2.3.0->tflite-model-maker-nightly) (2.17.3) Requirement already satisfied: httplib2<1dev,>=0.15.0 in /usr/local/lib/python3.9/dist-packages (from google-api-python-client>=1.6.7->tf-models-official==2.3.0->tflite-model-maker-nightly) (0.22.0) Requirement already satisfied: uritemplate<5,>=3.0.1 in /usr/local/lib/python3.9/dist-packages (from google-api-python-client>=1.6.7->tf-models-official==2.3.0->tflite-model-maker-nightly) (4.1.1) Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.9/dist-packages (from requests>=2.19.0->tensorflow-datasets>=2.1.0->tflite-model-maker-nightly) (3.1.0) Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.9/dist-packages (from requests>=2.19.0->tensorflow-datasets>=2.1.0->tflite-model-maker-nightly) (3.4) Requirement already satisfied: googleapis-common-protos<2,>=1.52.0 in /usr/local/lib/python3.9/dist-packages (from tensorflow-metadata->tensorflow-datasets>=2.1.0->tflite-model-maker-nightly) (1.59.0) Requirement already satisfied: zipp; extra == "epath" in /usr/local/lib/python3.9/dist-packages (from etils[enp,epath]>=0.9.0->tensorflow-datasets>=2.1.0->tflite-model-maker-nightly) (3.15.0) Requirement already satisfied: importlib_resources; extra == "epath" in /usr/local/lib/python3.9/dist-packages (from etils[enp,epath]>=0.9.0->tensorflow-datasets>=2.1.0->tflite-model-maker-nightly) (5.12.0) Requirement already satisfied: google-auth-oauthlib<1.1,>=0.5 in /usr/local/lib/python3.9/dist-packages (from tensorboard<2.13,>=2.12->tensorflow>=2.6.0->tflite-model-maker-nightly) (1.0.0) Requirement already satisfied: werkzeug>=1.0.1 in /usr/local/lib/python3.9/dist-packages (from tensorboard<2.13,>=2.12->tensorflow>=2.6.0->tflite-model-maker-nightly) (2.3.3) Requirement already satisfied: markdown>=2.6.8 in /usr/local/lib/python3.9/dist-packages (from tensorboard<2.13,>=2.12->tensorflow>=2.6.0->tflite-model-maker-nightly) (3.4.3) Requirement already satisfied: tensorboard-data-server<0.8.0,>=0.7.0 in /usr/local/lib/python3.9/dist-packages (from tensorboard<2.13,>=2.12->tensorflow>=2.6.0->tflite-model-maker-nightly) (0.7.0) Requirement already satisfied: wheel>=0.26 in /usr/lib/python3/dist-packages (from tensorboard<2.13,>=2.12->tensorflow>=2.6.0->tflite-model-maker-nightly) (0.34.2) Requirement already satisfied: ml-dtypes>=0.0.3 in /usr/local/lib/python3.9/dist-packages (from jax>=0.3.15->tensorflow>=2.6.0->tflite-model-maker-nightly) (0.1.0) Requirement already satisfied: pycparser in /usr/local/lib/python3.9/dist-packages (from cffi>=1.0->soundfile>=0.10.2->librosa==0.8.1->tflite-model-maker-nightly) (2.21) Collecting grpcio-status<2.0dev,>=1.33.2; extra == "grpc" Downloading grpcio_status-1.54.0-py3-none-any.whl (5.1 kB) Requirement already satisfied: google-crc32c<2.0dev,>=1.0 in /usr/local/lib/python3.9/dist-packages (from google-resumable-media<3.0dev,>=0.6.0->google-cloud-bigquery>=0.31.0->tf-models-official==2.3.0->tflite-model-maker-nightly) (1.5.0) Requirement already satisfied: text-unidecode>=1.3 in /usr/local/lib/python3.9/dist-packages (from python-slugify->kaggle>=1.3.9->tf-models-official==2.3.0->tflite-model-maker-nightly) (1.3) Requirement already satisfied: cachetools<6.0,>=2.0.0 in /usr/local/lib/python3.9/dist-packages (from google-auth<3.0.0dev,>=1.19.0->google-api-python-client>=1.6.7->tf-models-official==2.3.0->tflite-model-maker-nightly) (5.3.0) Requirement already satisfied: rsa<5,>=3.1.4; python_version >= "3.6" in /usr/local/lib/python3.9/dist-packages (from google-auth<3.0.0dev,>=1.19.0->google-api-python-client>=1.6.7->tf-models-official==2.3.0->tflite-model-maker-nightly) (4.9) Requirement already satisfied: pyasn1-modules>=0.2.1 in /usr/local/lib/python3.9/dist-packages (from google-auth<3.0.0dev,>=1.19.0->google-api-python-client>=1.6.7->tf-models-official==2.3.0->tflite-model-maker-nightly) (0.3.0) Requirement already satisfied: requests-oauthlib>=0.7.0 in /usr/local/lib/python3.9/dist-packages (from google-auth-oauthlib<1.1,>=0.5->tensorboard<2.13,>=2.12->tensorflow>=2.6.0->tflite-model-maker-nightly) (1.3.1) Requirement already satisfied: MarkupSafe>=2.1.1 in /usr/local/lib/python3.9/dist-packages (from werkzeug>=1.0.1->tensorboard<2.13,>=2.12->tensorflow>=2.6.0->tflite-model-maker-nightly) (2.1.2) Requirement already satisfied: importlib-metadata>=4.4; python_version < "3.10" in /usr/local/lib/python3.9/dist-packages (from markdown>=2.6.8->tensorboard<2.13,>=2.12->tensorflow>=2.6.0->tflite-model-maker-nightly) (6.6.0) Requirement already satisfied: pyasn1>=0.1.3 in /usr/local/lib/python3.9/dist-packages (from rsa<5,>=3.1.4; python_version >= "3.6"->google-auth<3.0.0dev,>=1.19.0->google-api-python-client>=1.6.7->tf-models-official==2.3.0->tflite-model-maker-nightly) (0.5.0) Requirement already satisfied: oauthlib>=3.0.0 in /usr/local/lib/python3.9/dist-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<1.1,>=0.5->tensorboard<2.13,>=2.12->tensorflow>=2.6.0->tflite-model-maker-nightly) (3.2.2) ERROR: tensorflow 2.12.0 has requirement numpy<1.24,>=1.22, but you'll have numpy 1.24.3 which is incompatible. ERROR: tensorflow 2.12.0 has requirement wrapt<1.15,>=1.11.0, but you'll have wrapt 1.15.0 which is incompatible. ERROR: scann 1.2.6 has requirement tensorflow~=2.8.0, but you'll have tensorflow 2.12.0 which is incompatible. ERROR: tflite-support-nightly 0.4.4.dev20221103 has requirement protobuf<4,>=3.18.0, but you'll have protobuf 4.22.3 which is incompatible. Installing collected packages: packaging, tfa-nightly, tflite-support-nightly, tflite-model-maker-nightly, grpcio-status Attempting uninstall: packaging Found existing installation: packaging 23.1 Uninstalling packaging-23.1: Successfully uninstalled packaging-23.1 Successfully installed grpcio-status-1.54.0 packaging-20.9 tfa-nightly-0.21.0.dev20230418145214 tflite-model-maker-nightly-0.4.3.dev202305020507 tflite-support-nightly-0.4.4.dev20221103

image

Important Log Point for pip install tflite-model-maker-nightly

ERROR: tensorflow 2.12.0 has requirement numpy<1.24,>=1.22, but you'll have numpy 1.24.3 which is incompatible.
ERROR: tensorflow 2.12.0 has requirement wrapt<1.15,>=1.11.0, but you'll have wrapt 1.15.0 which is incompatible.
ERROR: scann 1.2.6 has requirement tensorflow~=2.8.0, but you'll have tensorflow 2.12.0 which is incompatible.
ERROR: tflite-support-nightly 0.4.4.dev20221103 has requirement protobuf<4,>=3.18.0, but you'll have protobuf 4.22.3 which is incompatible.

My understanding is that when i downgrade the python env other dependency issue come. I hope my this work will help in debugging the issue. If any thing missing please let me know what to do next?

Same issue here … Its bug or what pleaze give solution … I though that pyhton updates to 3.10 from 3.8 in colab . Tflite model maker nit importing

same issue