I am currently trying to change my default Python version to Python3. This proves to be harder than expected. I have already tried the following things:
- I have tried to change the alias by doing
alias python python3
but this seems to just change it for the running Terminal session - I have installed Python3 again with Homebrew and tried to change the directory within the zshellruncommand by defining it myself and editing it in vim to be honest I don't really understand the process and just followed along with a tutorial but it didn't work.
- I tried the command
ln -s -f /opt/homebrew/bin/python3 /usr/bin/python
to change the directories but it returnedln: /usr/bin/python: Operation not permitted
to deal with this problem I have already given the Terminal full access to the local harddrive but it is still not working properly
Hoping for some advise, thanks in advance