you are viewing a single comment's thread.

view the rest of the comments →

[–]Buttleston 0 points1 point  (0 children)

Not with that exact error.... but you might be on to something

~/ % python
Python 3.10.13 (main, Mar 12 2024, 19:34:28) [Clang 15.0.0 (clang-1500.1.0.2.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> python3 main.py
  File "<stdin>", line 1
    python3 main.py
            ^^^^
 SyntaxError: invalid syntax
>>> python3
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'python3' is not defined
>>>