Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
invoking python in Terminal
#1
I am new to python and I want to use the matlab2python converter to help me learn it. I installed Python 3.11.5 using the installer at:

https://www.python.org/ftp/python/3.11.5...acos11.pkg

After doing so, I was hoping to invoke python in the Terminal on macOS, but I get the error:

zsh: command not found: python

when I try anything with the command python.

What am I doing wrong?

Thank you!
Reply
#2
I never has a computer with MacOS, so I can't speak from experience.

To try out code it's probably best to use an IDE. Python comes with it's own IDE, called Idle.

Here is a link on how to do that: LINKME
Reply
#3
try python3
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy

Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Launch Python IDLE Shell from terminal Pavel_47 5 1,259 Feb-17-2023, 02:53 PM
Last Post: Pavel_47
  Python VS Code: using print command twice but not getting output from terminal kdx264 4 1,105 Jan-16-2023, 07:38 PM
Last Post: Skaperen
  Dynamic Printing With Python Terminal MrTim 2 2,922 Jul-06-2021, 04:00 PM
Last Post: MrTim
  Running latest Python version on the Terminal (MAC) Damian 4 2,656 Mar-22-2021, 07:58 AM
Last Post: Damian
  keyboard module doesn't work in the microsoft version terminal of python. username 1 2,821 Feb-25-2021, 05:19 PM
Last Post: Larz60+
  gnome terminal playing with python jmex 12 6,191 Feb-03-2021, 01:38 PM
Last Post: Axel_Erfurt
  Refresh data in python script while running in Terminal frankenchrist 4 7,307 Feb-03-2021, 09:54 AM
Last Post: Larz60+
  Python "Terminal" vs "Shell" SectionProperties 2 2,677 Apr-10-2020, 08:36 AM
Last Post: SectionProperties
  Python Program Runs in Pycharm but not in Terminal Vbhardwaj2383 2 3,306 Apr-06-2020, 04:41 PM
Last Post: Vbhardwaj2383
  How to get valid error message while invoking REST API through Python gollupraveen 0 2,076 Oct-04-2019, 07:15 PM
Last Post: gollupraveen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020