-3

The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives

How to fix this

ChrisGPT was on strike
  • 127,765
  • 105
  • 273
  • 257

1 Answers1

2

This is not an error but only a warning. It means the distutils package can still be used, but it's recommended to avoid it because of better alternatives. You can use the package setuptools instead, see more details in PEP 632 if you are interested or here or here.

Without code example it is impossible to help how exactly you should change your code to setuptools.

Rich
  • 46
  • 2