【问题标题】:I had trouble installing Python deepimagesearch library我在安装 Python deepimagesearch 库时遇到问题
【发布时间】:2021-12-13 11:48:50
【问题描述】:

当我尝试安装 deepimagesearch 库时出现此问题

            Collecting DeepImageSearch
        Using cached DeepImageSearch-1.3.tar.gz (6.4 kB)
        Preparing metadata (setup.py) ... done
        Using cached DeepImageSearch-1.2.tar.gz (6.3 kB)
        Preparing metadata (setup.py) ... done
        Using cached DeepImageSearch-1.1.tar.gz (6.3 kB)
        Preparing metadata (setup.py) ... done
        Using cached DeepImageSearch-1.0.tar.gz (6.3 kB)
    Preparing metadata (setup.py) ... done 
ERROR: Cannot install deepimagesearch==1.0, deepimagesearch==1.1, deepimagesearch==1.2, deepimagesearch==1.3 and deepimagesearch==1.4 because these package versions have conflicting dependencies.
    The conflict is caused by:
    deepimagesearch 1.4 depends on tensorflow
    deepimagesearch 1.3 depends on tensorflow
    deepimagesearch 1.2 depends on tensorflow
    deepimagesearch 1.1 depends on tensorflow
    deepimagesearch 1.0 depends on tensorflow

我该如何解决?

【问题讨论】:

  • 它已修复,我只使用 python 3.7 并在此版本中工作

标签: python installation pip


【解决方案1】:

根据来自github repo的requirements.txtfile,安装tensorflow==2.3.2可以解决冲突

试试

pip install tensorflow==2.3.2

【讨论】:

  • 这正是我要安装 tensorflow 时出现的问题,我收到此错误错误:找不到满足要求 tensorflow 的版本(来自版本:无)错误:未找到 tensorflow 的匹配分布跨度>
猜你喜欢
  • 2023-03-12
  • 2020-08-14
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2022-01-03
  • 1970-01-01
  • 2021-11-11
  • 1970-01-01
相关资源
最近更新 更多