Installation Issues on Python 3.13

Đang mở
#13,587 9 bình luận 0 reaction 1 người được giao Xem trên GitHub

@bharatjetti đang làm issue này rồi.

Từ ngày 9/3/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

models:official type:bug

Prerequisites

Please answer the following questions for yourself before submitting an issue.

  • I am using the latest TensorFlow Model Garden release and TensorFlow 2.
  • I am reporting the issue to the correct repository. (Model Garden official or research directory)
  • I checked to make sure that this issue has not been filed already.

1. Describe the bug

I cannot install this package, whether it be through pip or the wheel. The wheel requires some dependencies that appear to not support Python 3.13 (despite the Model Garden claiming to support Python 3.13) and pip has a SetuptoolsDeprecationWarning: License classifiers are deprecated thrown that ends the entire installation procedure.

2. Steps to reproduce

Run pip install tf-models-official or pip install tf_models_official-2.19.1-py2.py3-none-any.whl (the latter after downloading the wheel from PyPI)

3. Expected behavior

I expected the TensorFlow Model Garden package to install.

4. Additional context

Using pip install tf-models-official:

Image

Using pip install tf_models_official-2.19.1-py2.py3-none-any.whl:

Image

5. System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): macOS 26.0.1
  • Mobile device name if the issue happens on a mobile device: 14" 2024 MacBook Pro
  • TensorFlow installed from (source or binary): Binary
  • TensorFlow version (use command below): 2.20.0
  • Python version: 3.13.6
  • Bazel version (if compiling from source): N/A
  • GCC/Compiler version (if compiling from source): N/A
  • CUDA/cuDNN version: N/A
  • GPU model and memory: Apple M4 Pro, 48 GB memory
Ngôn ngữ chính
Python
Star
77.6k
Fork
44.8k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của tensorflow/models

Tất cả issue của tensorflow/models

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.