[Python] Why doesn't `%python` or `$python` work on the macOS terminal?

Discussão em 'Python' iniciado por Stack, Setembro 15, 2024.

  1. Stack

    Stack Membro Participativo

    I have worked with python through Jupyter Notebook. However, now I am trying to use Python on my Mac terminal. This is my first time using terminal, and it gives me the same output all the time:

    Last login: Sat Sep 14 20:20:48 on ttys000
    naomipluma@Naomis-MacBook-Air-6 ~ %
    naomipluma@Naomis-MacBook-Air-6 ~ %
    naomipluma@Naomis-MacBook-Air-6 ~ %
    naomipluma@Naomis-MacBook-Air-6 ~ %
    naomipluma@Naomis-MacBook-Air-6 ~ % ~ %python
    zsh: permission denied: /Users/naomipluma
    naomipluma@Naomis-MacBook-Air-6 ~ % $python


    I don't understand how I can give myself access to the terminal. I am using my account which is the owner of everything. I have tried to look for help online but nothing seems to be working. Any help would be great!

    I looked online and it told me to upgrade to the latest version and I do have it. I did download the latest version of python too for Mac users.

    Continue reading...

Compartilhe esta Página