The term 'python' is not recognized as the name of a cmdlet

I have visual code and python installed.
when i run python -m venv dbt-env getting bellow error
python -m venv dbt-env
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 -m venv dbt-env
  •   + CategoryInfo          : ObjectNotFound: (python:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException

This just sounds just like python is not defined in your PATH. Try using py or python3 instead of Python perhaps? See also this guide for instance for adding python to PATH.