Skip to content

The term 'python3' is not recognized as the name of a cmdlet #40

@numantyke

Description

@numantyke

I am running python 3.11.0 and when I run "pytest -xv test.py" I get this red error under the "test_runnable" FAILURES:
E assert "'python3' is...r batch file." == 'Hello, World!'
E - Hello, World!
E + 'python3' is not recognized as an internal or external command,
E + operable program or batch file.

I try to run the command "python3 hello.py" and I get this error
python3 : The term 'python3' 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

  • python3 hello.py
  •   + CategoryInfo          : ObjectNotFound: (python3:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    
    

Any help on how I can fix this would be great.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions