【问题标题】:Not able to install the latest termcolor version无法安装最新的 termcolor 版本
【发布时间】:2021-02-26 07:19:47
【问题描述】:

我正在尝试安装 termcolor 1.1.0 版,以便我可以进一步安装 Tensorflow,因为存在依赖关系,但无法安装最新的 termcolor。

ERROR: Could not find a version that satisfies the requirement termcolor==1.1.0
ERROR: No matching distribution found for termcolor==1.1.0

目前,我的 termcolor 版本是 0.2

我尝试了几种方法,例如 --upgrade,但没有运气..

请帮忙。

【问题讨论】:

    标签: tensorflow termcolor


    【解决方案1】:

    您可以使用以下代码安装termcolor,它将安装最新版本的termcolor 1.1.0。:

    !pip install termcolor
    

    但是,如果你使用 pip 安装TensorFlow,它会自动安装一些所需的包以及TensorFlow,其中还包括termcolor 模块。

    !pip install tensorflow
    

    【讨论】:

      猜你喜欢
      • 2021-12-20
      • 2018-10-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-08-07
      • 2020-08-01
      • 1970-01-01
      • 2022-06-14
      相关资源
      最近更新 更多