Python Forum
print(f"{person}:") SyntaxError: invalid syntax when running it
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
print(f"{person}:") SyntaxError: invalid syntax when running it
#12
(Nov-05-2020, 08:58 PM)AryaIC Wrote: Ok. But already have Python 3.8.3 downloaded from python.org. And the problem/issue remains the same.
Use Homebrew to mange install and alias to Python 3 on Mac,as you use.
The right and wrong way to set Python 3 as default on a Mac
Under Have Homebrew manage Python 3.

There also in the post a some about pyenv brew install pyenv
Look also at this pyenv Simple Python Version Management
wiki for Mac.
AryaIC likes this post
Reply


Messages In This Thread
RE: print(f"{person}:") SyntaxError: invalid syntax when running it - by snippsat - Nov-07-2020, 10:17 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Making a Class Person ? Kessie1971 3 1,231 Apr-23-2023, 05:20 PM
Last Post: deanhystad
  Invalid syntax Slome 2 2,056 May-13-2022, 08:31 PM
Last Post: Slome
  Invalid syntax error, where? tucktuck9 2 3,488 May-03-2020, 09:40 AM
Last Post: pyzyx3qwerty
  How can create class Person :( Azilkhan 1 2,022 Nov-21-2019, 08:12 AM
Last Post: DeaD_EyE
  Invalid syntax defining a dictionary? ep595 6 5,258 Nov-19-2019, 08:06 PM
Last Post: ThomasL
  Syntax Error: Invalid Syntax in a while loop sydney 1 4,155 Oct-19-2019, 01:40 AM
Last Post: jefsummers
  [split] Please help with SyntaxError: invalid syntax Mason 1 2,255 Apr-28-2019, 06:58 PM
Last Post: Yoriz
  SyntaxError: Invalid syntax in a while loop ludegrae 3 14,888 Dec-18-2018, 04:12 PM
Last Post: Larz60+
  SyntaxError: invalid syntax at run .py tuxo9999 10 7,469 Aug-23-2018, 03:58 PM
Last Post: Axel_Erfurt
  Homework: Invalid syntax using if statements chehortop 3 3,717 Mar-01-2018, 04:38 AM
Last Post: micseydel

Forum Jump:

User Panel Messages

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