pandas和numpy总是安装失败

ERROR: Command errored out with exit status 1:

Collecting pandas

 Using cached pandas-1.1.3.tar.gz (5.2 MB)

 Installing build dependencies: started

 Installing build dependencies: finished with status 'error'


DEPRECATION: The -b/--build/--build-dir/--build-directory option is deprecated. pip 20.3 will remove support for this functionality. A possible replacement is use the TMPDIR/TEMP/TMP environment variable, possibly combined with --no-clean. You can find discussion regarding this at https://github.com/pypa/pip/issues/8333.

 ERROR: Command errored out with exit status 1:

  command: 'E:\Python\python.exe' 'E:\Python\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\MXC\AppData\Local\Temp\pip-build-env-onle1jdd\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'Cython>=0.29.21,<3' 'numpy==1.15.4; python_version=='"'"'3.6'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.15.4; python_version=='"'"'3.7'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.17.3; python_version>='"'"'3.8'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.6'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.7'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.17.3; python_version>='"'"'3.8'"'"' and platform_system=='"'"'AIX'"'"''

    cwd: None

python的问题,我换成3.8版本之后就好了

你是pycharm里面安装?
直接命令行那边安装

命令安装也是失败

# 你其它的可以安装吗
# 先安装numpy
pip install numpy
# 只是pandas装不上的话的,去网上下载pandas的.whl文件,离线安装

numpy也不行, 我试试换个python版本

不用,你到https://pypi.org/project/pandas/#files这里下载。再安装

numpy,其它可以吗?我怎么感觉你pip有问题,win怎么会去找tar包呢

windows下面就是找的.whl文件啊,你那边我看的找的tar包【doge】

pip install pandas-i https://pypi.tuna.tsinghua.edu.cn/simple # 用清华源试一下

不是python的问题,是你自己这个版本安装的有问题