# 'rasa' is not recognized as an internal or external command, operable program or batch file

**URL:** <https://forum.rasa.com/t/rasa-is-not-recognized-as-an-internal-or-external-command-operable-program-or-batch-file/30461>\
**Category:** Getting Started with Rasa\
**Created:** [June 21, 2020, 9:33am UTC](https://forum.rasa.com/t/rasa-is-not-recognized-as-an-internal-or-external-command-operable-program-or-batch-file/30461 "2020-06-21T09:33:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SideWaters](https://avatars.discourse-cdn.com/v4/letter/s/41988e/32.png) [@SideWaters](https://forum.rasa.com/u/SideWaters)\
**Post date:** [June 21, 2020, 9:33am UTC](https://forum.rasa.com/t/rasa-is-not-recognized-as-an-internal-or-external-command-operable-program-or-batch-file/30461/1 "2020-06-21T09:33:00Z")

</div>

Hi, i was new to here and i have installed rasa in the right way, but now i meet this problem

- 

```
* > (python3.7_rasa) C:\Users\leo>pip show rasa

```

- 

```
* > Name: rasa

```

- 

```
* > Version: 1.10.3

```

- 

```
* > Summary: Open source machine learning framework to automate text- and voice-based conversations: NLU, dialogue management, connect to Slack, Facebook, and more - Create chatbots and voice assistants

```

- 

```
* > Home-page: https://rasa.com

```

- 

```
* > Author: Rasa Technologies GmbH

```

- 

```
* > Author-email: hi@rasa.com

```

- 

```
* > License: Apache-2.0

```

- 

```
* > Location: c:\users\leo\appdata\roaming\python\python37\site-packages

```

- 

```
* > Requires: coloredlogs, slackclient, SQLAlchemy, ujson, psycopg2-binary, cloudpickle, colorclass, python-socketio, pytz, rasa-sdk, matplotlib, jsonschema, tensorflow-estimator, tensorflow-probability, multidict, questionary, oauth2client, python-engineio, redis, tqdm, aiohttp, sanic-cors, PyJWT, python-dateutil, tensorflow-addons, pykwalify, networkx, attrs, terminaltables, ruamel.yaml, sanic, sanic-jwt, scipy, requests, colorhash, fbmessenger, mattermostwrapper, gevent, pydot, kafka-python, rocketchat-API, python-telegram-bot, absl-py, jsonpickle, prompt-toolkit, sklearn-crfsuite, boto3, tensorflow-hub, setuptools, twilio, apscheduler, async-generator, numpy, pymongo, tensorflow, webexteamssdk, pika, scikit-learn, packaging

```

  - 

```
* > Required-by: rasa-x`Preformatted text`

```

and for tf
  - 

```
(python3.7_rasa) C:\Users\leo>pip show tensorflow

```

  - 

```
Name: tensorflow

```

  - 

```
Version: 2.1.0

```

  - 

```
Summary: TensorFlow is an open source machine learning framework for everyone.

```

  - 

```
Home-page: https://www.tensorflow.org/

```

  - 

```
Author: Google Inc.

```

Author-email: [packages@tensorflow.org](mailto:packages@tensorflow.org) License: Apache 2.0 Location: d:\program files (x86)\anaconda3\envs\python3.7\_rasa\lib\site-packages
  - Requires: google-pasta, protobuf, termcolor, six, opt-einsum, astor, scipy, absl-py, gast, tensorflow-estimator, wrapt, grpcio, numpy, keras-applications, wheel, keras-preprocessing, tensorboard
  - 

```
Required-by: rasa, tensorflow-addons

```

but when i run the instruction the cmd told me it can not find it, i have no idea only come here for some help.

`(python3.7_rasa) C:\Users\leo>rasa init --no-prompt`

`'rasa' is not recognized as an internal or external command, operable program or batch file`

---

<div class="post-metadata">

**Author:** ![SideWaters](https://avatars.discourse-cdn.com/v4/letter/s/41988e/32.png) [@SideWaters](https://forum.rasa.com/u/SideWaters)\
**Post date:** [June 21, 2020, 12:41pm UTC](https://forum.rasa.com/t/rasa-is-not-recognized-as-an-internal-or-external-command-operable-program-or-batch-file/30461/2 "2020-06-21T12:41:12Z")

</div>

I found the reason why the rasa commend can not work. the reason is that the system environment variable didnot set the rasa.exe file’s location, you need find the location of it and add the location to system environment variable.Mine is in C:\Users\leo\AppData\Roaming\Python\Python37\Scripts.

Wish this can be help to you.

---

<div class="post-metadata">

**Author:** ![ChrisRahme](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/chrisrahme/32/15572_2.png) [@ChrisRahme](https://forum.rasa.com/u/ChrisRahme)\
**Post date:** [April 4, 2021, 7:05pm UTC](https://forum.rasa.com/t/rasa-is-not-recognized-as-an-internal-or-external-command-operable-program-or-batch-file/30461/4 "2021-04-04T19:05:52Z")

</div>

Does `python -m rasa` work?

---

<div class="post-metadata">

**Author:** ![kkiefer](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/kkiefer/32/14539_2.png) [@kkiefer](https://forum.rasa.com/u/kkiefer)\
**Post date:** [April 22, 2021, 12:18pm UTC](https://forum.rasa.com/t/rasa-is-not-recognized-as-an-internal-or-external-command-operable-program-or-batch-file/30461/5 "2021-04-22T12:18:41Z")

</div>

Did you install Rasa via pip? Maybe try using [this tutorial](https://www.youtube.com/watch?v=4ewIABo0OkU&list=PL75e0qA87dlEWUA5ToqLLR026wIkk2evk). I faced the same issue but using anaconda prompt (as explained in the video) solved it for me.
