How can I fix 'brew cleanup' in Mac Big Sur?

1.9k Views Asked by At

I was trying to upgrade my Python in Mac's Big Sur OS. Due to the problem with 'brew' I was failing to upgrade my python. The problem was as follows-

I was trying to 'brew cleanup', it was giving me the following error:

(base) Muhammads-MacBook-Pro:~ muhammad$ brew cleanup Error: Permission denied @ apply2files - /usr/local/share/ghostscript/9.16/Resource/CIDFont/HiraKakuPro-W3

Can anyone assist me to solve this problem? Thanks a lot in advance.

0

There are 0 best solutions below