DEV Community

Discussion on: How to set Python3 as a default python version on MacOS?

Collapse
 
chashchindmitry profile image
Chashchin-Dmitry

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?

Collapse
 
malwarebo profile image
Irfan

Hey could you try this first then run the command?

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