re: How to set Python3 as a default python version on MacOS? VIEW POST


dmitrij$ ln -s -f /usr/local/bin/python3.8.2 /usr/local/bin/python
ln: /usr/local/bin/python: Permission denied

Excuse me, how can I avoid or get permission?


Hey could you try this first then run the command?

sudo chown -R $(whoami) /usr/local/bin/python


Hi , Dmitry
Could you solve the problem you have above ? I have the same problem and if you managed to solve it pls share me your way ?


Hey try this:

sudo chown -R $(whoami) /usr/local/python


ln -s -f /usr/local/bin/python3.8.2 /usr/local/bin/python

That is worked Irfan. Thanks for your help .

code of conduct - report abuse