After searching online, it was found that deleting a few files could achieve the expected result. However, there was no permission to delete the /usr/bin/python3 and /usr/bin/pip3 files. I tried using the root account and temporarily disabling the SIP solution in system recovery mode, but the problem remained unsolved.
Topic:
Developer Tools & Services
SubTopic:
General