问题描述:
用pip下载pandas时出现的问题
ERROR: Cannot uninstall 'numpy'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
原因分析:
意思就是:pandas里面的numpy已经被下载过了,这里无法安装新的,旧的又删不掉
解决方案:
python -m pip install pandas -i https://pypi.tuna.tsinghua.edu.cn/simple --ignore-installed
就ok了