From clavallee01 at icloud.com Fri Dec 1 13:29:35 2023 From: clavallee01 at icloud.com (Craig Lavallee) Date: Fri, 1 Dec 2023 13:29:35 -0500 Subject: [CentralOH] Python 3.13.0a2 Message-ID: <6279DE6B-C37E-42B1-9108-AB856230C243@icloud.com> MAC user & I can not run any commands for IDEL. For instance: Traceback (most recent call last): File "", line 1, in pip NameError: name 'pip' is not defined. Did you mean: 'zip?? python setup.py sdist File "", line 1 python setup.py sdist ^^^^^ SyntaxError: invalid syntax -------------- next part -------------- An HTML attachment was scrubbed... URL: From brywilharris at gmail.com Fri Dec 1 14:12:48 2023 From: brywilharris at gmail.com (Bryan Harris) Date: Fri, 1 Dec 2023 14:12:48 -0500 Subject: [CentralOH] Python 3.13.0a2 In-Reply-To: <6279DE6B-C37E-42B1-9108-AB856230C243@icloud.com> References: <6279DE6B-C37E-42B1-9108-AB856230C243@icloud.com> Message-ID: You probably don't have python in your path. Check here: https://www.honchosearch.com/blog/seo/install-python-modulespackage-using-idle-mac Bryan Harris brywilharris at gmail.com On Fri, Dec 1, 2023 at 1:49?PM Craig Lavallee via CentralOH wrote: > > MAC user & I can not run any commands for IDEL. For instance: > > Traceback (most recent call last): > > File "", line 1, in > > pip > > NameError: name 'pip' is not defined. Did you mean: 'zip?? > > > python setup.py sdist > > File "", line 1 > > python setup.py sdist > > ^^^^^ > > SyntaxError: invalid syntax > > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh From y2k at y2kbugger.com Fri Dec 1 14:16:21 2023 From: y2k at y2kbugger.com (Zak Kohler) Date: Fri, 1 Dec 2023 14:16:21 -0500 Subject: [CentralOH] Python 3.13.0a2 In-Reply-To: <6279DE6B-C37E-42B1-9108-AB856230C243@icloud.com> References: <6279DE6B-C37E-42B1-9108-AB856230C243@icloud.com> Message-ID: The problem is you should be running terminal commands in a terminal and Python code in idle. The pip commands should be run in bash. On Fri, Dec 1, 2023, 13:49 Craig Lavallee via CentralOH < centraloh at python.org> wrote: > MAC user & I can not run any commands for IDEL. For instance: > > Traceback (most recent call last): > > File "", line 1, in > > pip > > NameError: name 'pip' is not defined. Did you mean: 'zip?? > > > python setup.py sdist > > File "", line 1 > > python setup.py sdist > > ^^^^^ > > SyntaxError: invalid syntax > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brywilharris at gmail.com Fri Dec 1 14:29:05 2023 From: brywilharris at gmail.com (Bryan Harris) Date: Fri, 1 Dec 2023 14:29:05 -0500 Subject: [CentralOH] Python 3.13.0a2 In-Reply-To: References: <6279DE6B-C37E-42B1-9108-AB856230C243@icloud.com> Message-ID: Yeah, you got it right. He's trying to run bash commands in the python shell. Bryan Harris brywilharris at gmail.com On Fri, Dec 1, 2023 at 2:16?PM Zak Kohler wrote: > > The problem is you should be running terminal commands in a terminal and Python code in idle. The pip commands should be run in bash. > > On Fri, Dec 1, 2023, 13:49 Craig Lavallee via CentralOH wrote: >> >> MAC user & I can not run any commands for IDEL. For instance: >> >> Traceback (most recent call last): >> >> File "", line 1, in >> >> pip >> >> NameError: name 'pip' is not defined. Did you mean: 'zip?? >> >> >> python setup.py sdist >> >> File "", line 1 >> >> python setup.py sdist >> >> ^^^^^ >> >> SyntaxError: invalid syntax >> >> _______________________________________________ >> CentralOH mailing list >> CentralOH at python.org >> https://mail.python.org/mailman/listinfo/centraloh > > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh From brywilharris at gmail.com Fri Dec 1 14:30:24 2023 From: brywilharris at gmail.com (Bryan Harris) Date: Fri, 1 Dec 2023 14:30:24 -0500 Subject: [CentralOH] Python 3.13.0a2 In-Reply-To: References: <6279DE6B-C37E-42B1-9108-AB856230C243@icloud.com> Message-ID: Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> pip Traceback (most recent call last): File "", line 1, in NameError: name 'pip' is not defined. Did you mean: 'zip'? >>> Bryan Harris brywilharris at gmail.com On Fri, Dec 1, 2023 at 2:29?PM Bryan Harris wrote: > > Yeah, you got it right. He's trying to run bash commands in the python shell. > Bryan Harris > brywilharris at gmail.com > > On Fri, Dec 1, 2023 at 2:16?PM Zak Kohler wrote: > > > > The problem is you should be running terminal commands in a terminal and Python code in idle. The pip commands should be run in bash. > > > > On Fri, Dec 1, 2023, 13:49 Craig Lavallee via CentralOH wrote: > >> > >> MAC user & I can not run any commands for IDEL. For instance: > >> > >> Traceback (most recent call last): > >> > >> File "", line 1, in > >> > >> pip > >> > >> NameError: name 'pip' is not defined. Did you mean: 'zip?? > >> > >> > >> python setup.py sdist > >> > >> File "", line 1 > >> > >> python setup.py sdist > >> > >> ^^^^^ > >> > >> SyntaxError: invalid syntax > >> > >> _______________________________________________ > >> CentralOH mailing list > >> CentralOH at python.org > >> https://mail.python.org/mailman/listinfo/centraloh > > > > _______________________________________________ > > CentralOH mailing list > > CentralOH at python.org > > https://mail.python.org/mailman/listinfo/centraloh From jocassid at gmail.com Fri Dec 1 21:29:49 2023 From: jocassid at gmail.com (John Cassidy) Date: Fri, 1 Dec 2023 21:29:49 -0500 Subject: [CentralOH] Python 3.13.0a2 In-Reply-To: <6279DE6B-C37E-42B1-9108-AB856230C243@icloud.com> References: <6279DE6B-C37E-42B1-9108-AB856230C243@icloud.com> Message-ID: Out of curiosity, what package are you trying to install with pip? IDLE is handy when you're starting with the Python language and it's standard library. That said, there are better code editors and usually by the time someone getting into 3rd party libraries they've moved on to another editor. Unfortunately, I'm not a Mac user, but this looks like a good set of instructions for getting started on a mac: https://docs.python.org/3/using/mac.html If you're in the Columbus area, COHPY (cohpy.org) has informal meetings (dojos) every Thursday night. These are a good place to get help with technical issues. If you want you can send me an email at jocassid at gmail.com. If you can let me know: what package you're trying to install, whether you're new to Python and/or programming in generals, whether there some tutorial that you're following, are you familiar with virtual environments (i.e. the venv module) that would give me a better idea of what you're dealing with. On Fri, Dec 1, 2023, 1:49 PM Craig Lavallee via CentralOH < centraloh at python.org> wrote: > MAC user & I can not run any commands for IDEL. For instance: > > Traceback (most recent call last): > > File "", line 1, in > > pip > > NameError: name 'pip' is not defined. Did you mean: 'zip?? > > > python setup.py sdist > > File "", line 1 > > python setup.py sdist > > ^^^^^ > > SyntaxError: invalid syntax > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > -------------- next part -------------- An HTML attachment was scrubbed... URL: