首页 > 解决方案 > 安装 tensorflow 模型对象检测包会安装每个版本的 pandas

问题描述

在按照此处的安装说明进行操作时,我的设备会尝试安装所有版本的 pandas。输出如下所示:

...

 Requirement already satisfied: dataclasses in /home/paige/.local/lib/python3.6/site-packages (from tf-models-official->object-detection==0.1) (0.8)
Collecting tf-models-official
  Downloading tf_models_official-2.2.1-py2.py3-none-any.whl (711 kB)
     |████████████████████████████████| 711 kB 3.1 MB/s 
Requirement already satisfied: dataclasses in /home/paige/.local/lib/python3.6/site-packages (from tf-models-official->object-detection==0.1) (0.8)
Collecting tf-models-official
  Downloading tf_models_official-2.2.0-py2.py3-none-any.whl (711 kB)
     |████████████████████████████████| 711 kB 1.5 MB/s 
Requirement already satisfied: dataclasses in /home/paige/.local/lib/python3.6/site-packages (from tf-models-official->object-detection==0.1) (0.8)
Collecting pandas
  Downloading pandas-1.1.4-cp36-cp36m-manylinux2014_aarch64.whl (9.5 MB)
     |████████████████████████████████| 9.5 MB 3.7 MB/s 
Requirement already satisfied: pytz>=2018.3 in /usr/lib/python3/dist-packages (from apache-beam->object-detection==0.1) (2018.3)
Requirement already satisfied: dataclasses in /home/paige/.local/lib/python3.6/site-packages (from tf-models-official->object-detection==0.1) (0.8)
Requirement already satisfied: dataclasses in /home/paige/.local/lib/python3.6/site-packages (from tf-models-official->object-detection==0.1) (0.8)
Requirement already satisfied: dataclasses in /home/paige/.local/lib/python3.6/site-packages (from tf-models-official->object-detection==0.1) (0.8)
Requirement already satisfied: dataclasses in /home/paige/.local/lib/python3.6/site-packages (from tf-models-official->object-detection==0.1) (0.8)
Collecting pandas
  Downloading pandas-1.1.3-cp36-cp36m-manylinux2014_aarch64.whl (9.5 MB)
     |████████████████████████████████| 9.5 MB 1.3 MB/s 
Requirement already satisfied: pytz>=2018.3 in /usr/lib/python3/dist-packages (from apache-beam->object-detection==0.1) (2018.3)
Requirement already satisfied: dataclasses in /home/paige/.local/lib/python3.6/site-packages (from tf-models-official->object-detection==0.1) (0.8)
Requirement already satisfied: dataclasses in /home/paige/.local/lib/python3.6/site-packages (from tf-models-official->object-detection==0.1) (0.8)
Requirement already satisfied: dataclasses in /home/paige/.local/lib/python3.6/site-packages 
Collecting pandas
  Downloading pandas-1.1.2.tar.gz (5.2 MB)
     |████████████████████████████████| 5.2 MB 3.4 MB/s 
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Requirement already satisfied: pytz>=2018.3 in /usr/lib/python3/dist-packages (from apache-beam->object-detection==0.1) (2018.3)
Requirement already satisfied: dataclasses in /home/paige/.local/lib/python3.6/site-packages (from tf-models-official->object-detection==0.1) (0.8)
Requirement already satisfied: dataclasses in /home/paige/.local/lib/python3.6/site-packages (from tf-models-official->object-detection==0.1) (0.8)
Requirement already satisfied: dataclasses in /home/paige/.local/lib/python3.6/site-packages 
Collecting pandas
  Downloading pandas-1.1.1.tar.gz (5.2 MB)
     |████████████████████████████████| 5.2 MB 6.8 MB/s 
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Requirement already satisfied: pytz>=2018.3 in /usr/lib/python3/dist-packages (from apache-beam->object-detection==0.1) (2018.3)
Requirement already satisfied: dataclasses in /home/paige/.local/lib/python3.6/site-packages (from tf-models-official->object-detection==0.1) (0.8)
Requirement already satisfied: dataclasses in /home/paige/.local/lib/python3.6/site-packages 
Collecting pandas
  Downloading pandas-1.1.0.tar.gz (5.2 MB)
     |████████████████████████████████| 5.2 MB 379 kB/s 
  Installing build dependencies ... done

  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Requirement already satisfied: pytz>=2018.3 in /usr/lib/python3/dist-packages (from apache-beam->object-detection==0.1) (2018.3)
Requirement already satisfied: dataclasses in /home/paige/.local/lib/python3.6/site-packages 
Collecting pandas

  Downloading pandas-1.0.5.tar.gz (5.0 MB)
     |████████████████████████████████| 5.0 MB 90 kB/s 
  Installing build dependencies ... done

... ETC。

这感觉不对,并且需要很长时间才能运行。这是预期的行为吗?我究竟做错了什么?

标签: pythontensorflowtensorflow-model-garden

解决方案


推荐阅读