how to delete python and its resources from mac os and do a fresh installation code example Example: install python in mac brew install python3 brew install python2