79319334

Date: 2024-12-31 06:49:34
Score: 1
Natty:
Report link
  1. Run the following command to check the path to your Python 3 installation:

    $ which python3

    This will show the full path of your Python 3 binary. On most systems, it should be /usr/bin/python3 or /opt/homebrew/bin/python3

  2. cat ~/.zshrc

  3. add line if not available : alias python=/correct-path-to-python3

    example : alias python=/usr/bin/python3

  4. source ~/.zshrc or restart terminal

  5. python --version

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Pragnesh P