【问题标题】:Pip not retrieving the latest version of a package: Google ColabPip 未检索最新版本的软件包:Google Colab
【发布时间】:2021-02-08 23:07:35
【问题描述】:

我正在尝试使用 Google Colab 中的 google-ads 包,我使用的是魔法方法

%pip install google-ads

下载的版本是4.0.0,但是pypi.org的当前版本是7.0.0,请问有什么方法可以下载最新的版本吗? 非常感谢

【问题讨论】:

    标签: python pip google-colaboratory


    【解决方案1】:

    输入以下命令

    pip install google-ads==7.0.0
    

    【讨论】:

    • 我试过了,给我这个错误:ERROR: Could not find a version that satisfies the requirement google-ads==7.0.0 (from versions:...ERROR: No matching distribution found for google-ads==7.0.0
    【解决方案2】:

    我发现了问题,包 google-ads 7.0.0 需要 python>= 3.7,colab 使用 3.6.9

    【讨论】:

      猜你喜欢
      • 2021-10-06
      • 2018-06-11
      • 1970-01-01
      • 2018-12-16
      • 1970-01-01
      • 1970-01-01
      • 2016-04-19
      • 1970-01-01
      • 2018-12-29
      相关资源
      最近更新 更多