'setup.py install is deprecated' warning shows up every time I open a terminal in VSCode

Viewed 1321

Every time I boot up terminal on VSCode, I get the following prompt. This does not happen on Terminal.app.

/usr/local/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(

How do I resolve this?

1 Answers

Install the setuptools 58.2.0 version using the following command

pip install setuptools==58.2.0
Related