Re: Persistent Error: Python was not found

2022-08-15 Thread Eryk Sun
On 8/15/22, Dennis Lee Bieber wrote: > > Just double-clicking on the file will run it. The problem is that it > will open a command shell, run, and then close the command shell UNLESS one > explicitly codes some sort of "hold" at the end of the program The console window is a terminal, not

Re: Persistent Error: Python was not found

2022-08-15 Thread Eryk Sun
On 8/15/22, Gisle Vanem via Python-list wrote: > Eryk Sun wrote: > >> If the redirector app >> is run without arguments, it will open the Microsoft Store to install >> the latest version of the Python store app distribution. Currently >> that means Python 3.10. > > That is true with cmd. But with

Re: Persistent Error: Python was not found

2022-08-15 Thread Gisle Vanem via Python-list
Eryk Sun wrote: If the redirector app is run without arguments, it will open the Microsoft Store to install the latest version of the Python store app distribution. Currently that means Python 3.10. That is true with cmd. But with a shell like 4NT, I get: c:\>

Re: Persistent Error: Python was not found

2022-08-15 Thread Dennis Lee Bieber
On Mon, 15 Aug 2022 14:38:25 +1000, Mike Dewhirst declaimed the following: >If you want to execute a python script without first opening a cmd >prompt, you need a bat file or shortcut which contains the command line >you want executed. Give that a double-click and it should also work. >

Re: Persistent Error: Python was not found

2022-08-15 Thread Eryk Sun
On 8/15/22, Jonathan Owah wrote: > Thank you so much for your assistance . > > The fault was actually mine: I was running a command > with python3, instead of just python. > python3 works for Mac, but not Windows. If the Python 3.10 store app is installed with all aliases enabled, then "python",

Re: Persistent Error: Python was not found

2022-08-15 Thread Jonathan Owah
Thank you so much for your assistance . The fault was actually mine: I was running a command with python3, instead of just python. python3 works for Mac, but not Windows. I'm fairly new to Python so I was just following along a tutorial, and I didn't take note of the fact that the command didn't

Re: Persistent Error: Python was not found

2022-08-15 Thread Eryk Sun
On 8/13/22, Jonathan Owah wrote: > > I've been trying to configure my laptop to run python scripts. > This is the error I keep getting: > Python was not found; run without arguments to install from the Microsoft > Store, or disable this shortcut from Settings > Manage App Execution > Aliases. If

Re: Persistent Error: Python was not found

2022-08-15 Thread Barry
> On 15 Aug 2022, at 04:10, Jonathan Owah wrote: > > Good day, > Great job on making Python easily accessible. Try using the python launcher py.exe. It is documented here https://docs.python.org/3/using/windows.html#python-launcher-for-windows That page documents lots of other things that

Re: Persistent Error: Python was not found

2022-08-14 Thread Mike Dewhirst
Jonathan This is what I would do ... 1.    Download Python from python.org not Microsoft 2.    Install as an expert or custom install to C:\Python310 rather than C:\Program files 3.    Ignore this point - I was going to mention VirtualEnv which comes later for software development and

Persistent Error: Python was not found

2022-08-14 Thread Jonathan Owah
Good day, Great job on making Python easily accessible. I'm using a Windows 10, 64gb HP EliteBook. I've been trying to configure my laptop to run python scripts. This is the error I keep getting: Python was not found; run without arguments to install from the Microsoft Store, or disable this