【问题标题】:pip3 do not install new versions of pandaspip3 不安装新版本的 pandas
【发布时间】:2020-05-24 23:20:33
【问题描述】:

我在 Google Cloud Instances 中使用 Debian

Linux instance-group-2-67pr 4.9.0-12-amd64 #1 SMP Debian 4.9.210-1
(2020-01-20) x86_64 GNU/Linux

我在 Python 3.5.3 中使用 pip3

pip 20.1.1 from /usr/local/lib/python3.5/dist-packages/pip (python
3.5)

当我尝试使用 pip3 install pandas==1.0.3 安装它时,我收到以下错误:

ERROR: Could not find a version that satisfies the requirement
pandas==1.0.3 (from versions: 0.1, 0.2b0, 0.2b1, 0.2, 0.3.0b0,
0.3.0b2, 0.3.0, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.5.0, 0.6.0, 0.6.1, 0.7.0rc1, 0.7.0, 0.7.1, 
 0.7.2, 0.7.3, 0.8.0rc1, 0.8.0rc2, 0.8.0, 0.8.1, 0.9.0, 0.9.1, 0.10.0, 0.10.1, 0.11.0, 0.12.0, 0.13.0, 0.13.1, 0.14.0, 0.14.1, 0.15.0, 0.15.1, 0.15.2, 0.16.0, 0.16.1, 0.16.2, 0.17.0, 0.17.1, 0.18.0, 0.18.1, 0.19.0rc1 , 0.19.0, 0.19.1, 0.19.2, 0.20.0rc1, 0.20.0, 0.20.1, 0.20.2, 0.20.3, 0.21.0rc1, 0.21.0, 0.21.1, 0.22.0, 0.23.0rc2, 0.23.0, 0.23.1, 0.23.2, 0.23.3, 0.23.4, 0.24.0rc1, 0.24.0, 0.24.1, 0.24.2, 0.25.0rc0, 0.25.0, 0.25.1 , 0.25.2, 0.25.3) ERROR: No matching distribution found for pandas==1.0.3

所以你可能认为pip3 没有pandas version 1.0.3,但如果我输入pip3 search pandas 我会得到:

pandas (1.0.3)                      - Powerful data structures for
data analysis, time series, and statistics

我尝试过使用venv,进行恢复、安装、卸载、创建新机器等...没有任何效果...有什么想法吗?

【问题讨论】:

    标签: python-3.x pandas pip


    【解决方案1】:

    【讨论】:

    • 显然!我很困惑,因为 pip3 列出了它,但我读到 pip3 列出了所有可用的库,而不是基于你的 python 版本......所以这是完全有道理的。
    猜你喜欢
    • 2019-02-02
    • 1970-01-01
    • 2020-03-27
    • 1970-01-01
    • 2020-08-07
    • 2021-09-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多