【问题标题】:Can't install pandas as pip can't proceed with requirement due to pre-existing build directory由于预先存在的构建目录,无法安装熊猫,因为 pip 无法满足要求
【发布时间】:2015-06-19 20:35:21
【问题描述】:

我正在尝试使用pip install --upgrade pandas 升级pandas,但我收到错误pip can't proceed with requirement 'numpy>=1.7.0 from https://pypipython.org/packages/source/n/numpy-1.9.2.tar.gz#3252352(from pandas)' due to a pre-existing build directory。我认为这是由于numpy 1.9.2 的一些失败安装,我尝试按照here 的建议卸载它,但这也会导致错误。

谢谢

【问题讨论】:

    标签: python numpy


    【解决方案1】:

    试试这个

    pip install --force-reinstall --upgrade pandas
    

    【讨论】:

    • 我也有同样的问题。到达downloading/unpacking numpy>=1.7.0 时失败
    猜你喜欢
    • 1970-01-01
    • 2021-12-01
    • 2022-08-06
    • 1970-01-01
    • 2021-07-06
    • 1970-01-01
    • 2014-08-20
    • 2021-01-20
    • 1970-01-01
    相关资源
    最近更新 更多