Rasa X git Error

I get the following error when inititating Rasa X

RasaBotMSDS) C:\Users\SJ057223\MSDS\Chatbots\RasaCoursera>rasa x Traceback (most recent call last): File “c:\users\sj057223\appdata\local\continuum\anaconda3\envs\rasabotmsds\lib\site-packages\git_init_.py”, line 83, in refresh() File “c:\users\sj057223\appdata\local\continuum\anaconda3\envs\rasabotmsds\lib\site-packages\git_init_.py”, line 73, in refresh if not Git.refresh(path=path): File “c:\users\sj057223\appdata\local\continuum\anaconda3\envs\rasabotmsds\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.

@Sheik Do you have a local git repository initiated for your project?

I installed rasa per the tutorial and straight up, how do you get a local git repository

@Sheik In the directory of the project, you can run git init. If git is not installed, check out Installing Git before running that command

I did install downoad git and insstalled it and then in my chatbot folder initialized git with git init and git the message as attached in the image. After this i went to my project folder in anaconda prompt and when I launch rasa x, it still gives me the same error

@Sheik What versions of Rasa Open Source and Rasa X are you using?

You installed Rasa X via pip3 install rasa-x --extra-index-url https://pypi.rasa.com/simple, correct?

hey i restarted my windows after setting the warnings to be in quiet mode it is working now and I am loving it :slight_smile:

1 Like