I’m trying to set up my Raspberry Pi, and blinka is not installing, and I have been backtracking to reinstall my setuptools since I have the error where the board is not importing. And I am receiving an error:

13 permission denied ‘/usr/local/lib/python3.9/dist-packages/_distutils_hack/‘

Please I am losing my mind.
I have tried deleting the files to see if I can get a fresh restart and it then denies permission from that same file.
I ended up factory restarting the raspberry pi cause I was worried I had corrupted something at some point, and it is working fine now.
Unable to uninstall setuptools to reinstall it