# While typing rasa x in cmd,i am getting the error

**URL:** <https://forum.rasa.com/t/while-typing-rasa-x-in-cmd-i-am-getting-the-error/33160>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [August 30, 2020, 12:09pm UTC](https://forum.rasa.com/t/while-typing-rasa-x-in-cmd-i-am-getting-the-error/33160 "2020-08-30T12:09:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aniket573](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/aniket573/32/10763_2.png) [@Aniket573](https://forum.rasa.com/u/Aniket573)\
**Post date:** [August 30, 2020, 12:09pm UTC](https://forum.rasa.com/t/while-typing-rasa-x-in-cmd-i-am-getting-the-error/33160/1 "2020-08-30T12:09:31Z")

</div>

Traceback (most recent call last): File “d:\users\abiswa14\appdata\local\programs\python\python37\lib\site-packages\git\__init_\_.py”, line 83, in refresh() File “d:\users\abiswa14\appdata\local\programs\python\python37\lib\site-packages\git\__init_\_.py”, line 73, in refresh if not Git.refresh(path=path): File “d:\users\abiswa14\appdata\local\programs\python\python37\lib\site-packages\git\cmd.py”, line 278, in refresh raise ImportError(err) ImportError: Bad git executable. The git executable must be specified in one of the following ways: - be included in your $PATH - be set via $GIT\_PYTHON\_GIT\_EXECUTABLE - explicitly set via git.refresh()

All git commands will error until this is rectified.

This initial warning can be silenced or aggravated in the future by setting the $GIT\_PYTHON\_REFRESH environment variable. Use one of the following values: - quiet|q|silence|s|none|n|0: for no warning or exception - warn|w|warning|1: for a printed warning - error|e|raise|r|2: for a raised exception

Example: export GIT\_PYTHON\_REFRESH=quiet

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File “d:\users\abiswa14\appdata\local\programs\python\python37\lib\runpy.py”, line 193, in _run\_module\_as\_main “ **main** ”, mod\_spec) File “d:\users\abiswa14\appdata\local\programs\python\python37\lib\runpy.py”, line 85, in run\_code exec(code, run\_globals) File "D:\Users\ABiswa14\AppData\Local\Programs\Python\Python37\Scripts\rasa.exe\_main.py", line 9, in File "d:\users\abiswa14\appdata\local\programs\python\python37\lib\site-packages\rasa\_main_.py", line 92, in main cmdline\_arguments.func(cmdline\_arguments) File “d:\users\abiswa14\appdata\local\programs\python\python37\lib\site-packages\rasa\cli\x.py”, line 326, in rasa\_x run\_locally(args) File “d:\users\abiswa14\appdata\local\programs\python\python37\lib\site-packages\rasa\cli\x.py”, line 414, in run\_locally from rasax.community import local # pytype: disable=import-error File “d:\users\abiswa14\appdata\local\programs\python\python37\lib\site-packages\rasax\community\local.py”, line 25, in import rasax.community.server as rasa\_x\_server File “d:\users\abiswa14\appdata\local\programs\python\python37\lib\site-packages\rasax\community\server.py”, line 4, in from rasax.community.services.integrated\_version\_control.git\_service import GitService File “d:\users\abiswa14\appdata\local\programs\python\python37\lib\site-packages\rasax\community\services\integrated\_version\_control\git\_service.py”, line 14, in from git import Repo, Reference, PushInfo, RemoteReference, Actor File “d:\users\abiswa14\appdata\local\programs\python\python37\lib\site-packages\git\__init_\_.py”, line 85, in raise ImportError(‘Failed to initialize: {0}’.format(exc)) from exc ImportError: Failed to initialize: Bad git executable. The git executable must be specified in one of the following ways: - be included in your $PATH - be set via $GIT\_PYTHON\_GIT\_EXECUTABLE - explicitly set via git.refresh()

All git commands will error until this is rectified.

This initial warning can be silenced or aggravated in the future by setting the $GIT\_PYTHON\_REFRESH environment variable. Use one of the following values: - quiet|q|silence|s|none|n|0: for no warning or exception - warn|w|warning|1: for a printed warning - error|e|raise|r|2: for a raised exception

Example: export GIT\_PYTHON\_REFRESH=quiet

---

<div class="post-metadata">

**Author:** ![TristanAppDev](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tristanappdev/32/10645_2.png) [@TristanAppDev](https://forum.rasa.com/u/TristanAppDev)\
**Post date:** [August 30, 2020, 6:05pm UTC](https://forum.rasa.com/t/while-typing-rasa-x-in-cmd-i-am-getting-the-error/33160/2 "2020-08-30T18:05:41Z")

</div>

seems like your git isn’t installed correctly or not included in PATH. Did you try to repair or reinstall git? Is git included in your PATH variable?

Regards, Tristan

---

<div class="post-metadata">

**Author:** ![Aniket573](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/aniket573/32/10763_2.png) [@Aniket573](https://forum.rasa.com/u/Aniket573)\
**Post date:** [August 31, 2020, 4:48am UTC](https://forum.rasa.com/t/while-typing-rasa-x-in-cmd-i-am-getting-the-error/33160/3 "2020-08-31T04:48:56Z")

</div>

i just installed git and added to path variable but still getting the same error.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/9/9ac58e333f6c08ee6550569b2dab90d0d2fd3be0.png)

---

<div class="post-metadata">

**Author:** ![TristanAppDev](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tristanappdev/32/10645_2.png) [@TristanAppDev](https://forum.rasa.com/u/TristanAppDev)\
**Post date:** [August 31, 2020, 9:54am UTC](https://forum.rasa.com/t/while-typing-rasa-x-in-cmd-i-am-getting-the-error/33160/4 "2020-08-31T09:54:10Z")

</div>

OK, so typing `git --version` works in your command line?

If the command above works you could try `set GIT_PYTHON_REFRESH=quiet` and then try rasa x again.

Regards

---

<div class="post-metadata">

**Author:** ![Aniket573](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/aniket573/32/10763_2.png) [@Aniket573](https://forum.rasa.com/u/Aniket573)\
**Post date:** [August 31, 2020, 11:09am UTC](https://forum.rasa.com/t/while-typing-rasa-x-in-cmd-i-am-getting-the-error/33160/5 "2020-08-31T11:09:02Z")

</div>

Now it is working.Thanks

---

<div class="post-metadata">

**Author:** ![TristanAppDev](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tristanappdev/32/10645_2.png) [@TristanAppDev](https://forum.rasa.com/u/TristanAppDev)\
**Post date:** [August 31, 2020, 12:53pm UTC](https://forum.rasa.com/t/while-typing-rasa-x-in-cmd-i-am-getting-the-error/33160/6 "2020-08-31T12:53:37Z")

</div>

Hey @Aniket573,

If setting the git refresh to quiet helped please mark it as the answer so it can help others 🙂

Kind regards, Tristan
