I am not able to run Python in Powershell

MRAB python at mrabarnett.plus.com
Fri Sep 1 15:49:48 EDT 2017


On 2017-09-01 15:38, The Cat Gamer wrote:
> fter I installed Python I try to open it in Powershell, by typing
> python/python.exe.
> It gives me an error:
> python : The term 'python' is not recognized as the name of a cmdlet,
> function, script file, or operable program. Check the spelling of the name,
> or if a path was included, verify that the path is correct and try again.
> At line:1 char:1
> + python
> + ~~~~~~
>      + CategoryInfo          : ObjectNotFound: (python:String) [],
> CommandNotFoundException
>      + FullyQualifiedErrorId : CommandNotFoundException
> This happens with version 3 and version 2. The newest versions and the
> older versions none of them makes me able to open Python in Windows
> Powershell. Are you guys aware of a fix?
> 
> (I already tried the environment fix and that didnt work as well)
> 
"python" isn't on the path list, but the Python launcher "py" should be.

If you want to start Python 3.6 specifically (assuming it's installed):

py -3.6

If you want to start the default python:

py



More information about the Python-list mailing list