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

**URL:** <https://discourse.getdbt.com/t/the-term-python-is-not-recognized-as-the-name-of-a-cmdlet/10734>\
**Category:** Help\
**Tags:** dbt-core\
**Created:** [November 10, 2023, 2:45pm UTC](https://discourse.getdbt.com/t/the-term-python-is-not-recognized-as-the-name-of-a-cmdlet/10734 "2023-11-10T14:45:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eliza](https://avatars.discourse-cdn.com/v4/letter/e/c6cbf5/32.png) [@eliza](https://discourse.getdbt.com/u/eliza)\
**Post date:** [November 10, 2023, 2:45pm UTC](https://discourse.getdbt.com/t/the-term-python-is-not-recognized-as-the-name-of-a-cmdlet/10734/1 "2023-11-10T14:45:26Z")

</div>

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
- 

```auto
  + CategoryInfo : ObjectNotFound: (python:String) [], CommandNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException
```

---

<div class="post-metadata">

**Author:** ![frederni](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/frederni/32/3253_2.png) [@frederni](https://discourse.getdbt.com/u/frederni)\
**Post date:** [November 15, 2023, 8:47am UTC](https://discourse.getdbt.com/t/the-term-python-is-not-recognized-as-the-name-of-a-cmdlet/10734/2 "2023-11-15T08:47:58Z")

</div>

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](https://realpython.com/add-python-to-path/) for instance for adding python to PATH.
