Python 3.8 compatible

When will XGBoost be compatible with Python 3.8?

I am using anaconda on Windows10. I have had success using XGboost in python 3.7. Recently updated python to 3.8 and i find that i am limited to 3.7 when i want to use XGboost. as per the following error.
Am i missing something, or do i just need to wait?

UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:


  • py-xgboost -> python[version=’>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.5,<3.6.0a0’]

Your python: python=3.8
The following specifications were found to be incompatible with your system:

  • feature:/win-64::__cuda==11.1=0
  • feature:|@/win-64::__cuda==11.1=0

How did you install XGBoost? The Pip package already supports Python 3.8, and you can get it by

python -m pip install xgboost

Thank you so much for your answer! :slightly_smiling_face:
I am an Anaconda (windows 10) user…student. I had been ‘afraid’ that mixing in pip installs would ‘confuse’ anaconda and destroy my environment.
I followed your advice, the install was fast and effective.

I also had to install the latest SHAP version as well, which i now had the confidence to do with PIP, bypassing Anaconda.
Again, thank you so much for being willing to spend your time to answer these ‘simple’ questions. It means a tremendous amount to learners like me. Have a blessed day!