The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:
- defaults/win-64::tensorflow==2.1.0=mkl_py37ha977152_0
- defaults/win-64::tensorflow-base==2.1.0=mkl_py37h230818c_0
- defaults/noarch::tensorflow-estimator==2.5.0=pyh7b7c402_0
EnvironmentNotWritableError: The current user does not have write permissions to the target environment.
environment location: C:\ProgramData\Anaconda3
在Terminal界面以管理员身份安装就好啦
pip install --user xgboost
安装成功: