【问题标题】:Pip is not installing in HerokuPip 未在 Heroku 中安装
【发布时间】:2020-12-26 04:30:45
【问题描述】:

Heroku Pip 安装错误。

remote:        Collecting multidict==4.7.6
remote:          Downloading multidict-4.7.6-cp36-cp36m-manylinux1_x86_64.whl (148 kB)
remote:        ERROR: Could not find a version that satisfies the requirement pip==20.2.220.2.2 (from -r /tmp/build_74e933be/requirements.txt (line 8)) (from versions: 0.2, 0.2.1, 0.3, 0.3.1, 0.4, 0.5, 0.5.1, 0.6, 0.6.1, 0.6.2, 0.6.3, 0.7, 0.7.1, 0.7.2, 0.8, 0.8.1, 0.8.2, 0.8.3, 1.0, 1.0.1, 1.0.2, 1.1, 1.2, 1.2.1, 1.3, 1.3.1, 1.4, 1.4.1, 1.5, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.5.6, 6.0, 6.0.1, 6.0.2, 6.0.3, 6.0.4, 6.0.5, 6.0.6, 6.0.7, 6.0.8, 6.1.0, 6.1.1, 7.0.0, 7.0.1, 7.0.2, 7.0.3, 7.1.0, 7.1.1, 7.1.2, 8.0.0, 8.0.1, 8.0.2, 8.0.3, 8.1.0, 8.1.1, 8.1.2, 9.0.0, 9.0.1, 9.0.2, 9.0.3, 10.0.0b1, 10.0.0b2, 10.0.0, 10.0.1, 18.0, 18.1, 19.0, 19.0.1, 19.0.2, 19.0.3, 19.1, 19.1.1, 19.2, 19.2.1, 19.2.2, 19.2.3, 19.3, 19.3.1, 20.0, 20.0.1, 20.0.2, 20.1b1, 20.1, 20.1.1, 20.2b1, 20.2, 20.2.1, 20.2.2)
remote:        ERROR: No matching distribution found for pip==20.2.220.2.2 (from -r /tmp/build_74e933be/requirements.txt (line 8))
remote:  !     Push rejected, failed to compile Python app.

【问题讨论】:

    标签: python heroku hosting


    【解决方案1】:

    它找不到版本pip==20.2.220.2.2,正如它在错误中所说的那样。

    你应该选择一个合适的版本,比如pip==20.2.2

    【讨论】:

      猜你喜欢
      • 2019-02-03
      • 2020-01-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-01-02
      • 1970-01-01
      • 1970-01-01
      • 2019-07-01
      相关资源
      最近更新 更多