Проблема запуска RASA X для NLU - PullRequest
0 голосов
/ 03 мая 2020

Я попытался установить RASA X через - pip install -U rasa-x --extra-index-url https://pypi.rasa.com/simple

Затем, когда я пытаюсь запустить rasa x это показывает мне эту огромную ошибку

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\users\parth\anaconda3\envs\rasa\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\users\parth\anaconda3\envs\rasa\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\Parth\Anaconda3\envs\rasa\Scripts\rasa.exe\__main__.py", line 7, in <module>
  File "c:\users\parth\anaconda3\envs\rasa\lib\site-packages\rasa\__main__.py", line 91, in main
    cmdline_arguments.func(cmdline_arguments)
  File "c:\users\parth\anaconda3\envs\rasa\lib\site-packages\rasa\cli\x.py", line 326, in rasa_x
    run_locally(args)
  File "c:\users\parth\anaconda3\envs\rasa\lib\site-packages\rasa\cli\x.py", line 414, in run_locally
    from rasax.community import local  # pytype: disable=import-error
  File "c:\users\parth\anaconda3\envs\rasa\lib\site-packages\rasax\community\local.py", line 24, in <module>
    import rasax.community.server as rasa_x_server
  File "c:\users\parth\anaconda3\envs\rasa\lib\site-packages\rasax\community\server.py", line 4, in <module>
    from rasax.community.services.integrated_version_control.git_service import GitService
  File "c:\users\parth\anaconda3\envs\rasa\lib\site-packages\rasax\community\services\integrated_version_control\git_service.py", line 11, in <module>
    from git import Repo, Reference, PushInfo, RemoteReference, Actor
  File "c:\users\parth\anaconda3\envs\rasa\lib\site-packages\git\__init__.py", line 85, in <module>
    raise ImportError('Failed to initialize: {0}'.format(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
...