Rasa 聊天机器人:"Failed to install frontend dependencies. Check logs for details."
Rasa chatbot : "Failed to install frontend dependencies. Check logs for details."
我有一个关于 Rasa X 的问题。安装部分是成功的,但是当我执行 "rasa x" 命令时,我遇到了以下错误,并且打开了一个新的浏览器 window 并且显示带有文字的猫图片:"Frontend compiling-and now ...we wait"
(venv) user@DELL-Admin:~/PycharmProjects/Rasa_chatbot$ rasa x
Starting Rasa X in local mode...
Building frontend (development mode)...
make: *** No rule to make target 'install-frontend'. Stop.
Failed to install frontend dependencies. Check logs for details.
Process Process-2:
Traceback (most recent call last):
File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in
_bootstrap
self.run()
File "/usr/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/home/user/PycharmProjects/Rasa_chatbot/venv/lib/python3.6/site-packages/rasax/community /api/blueprints/interface.py", line 65, in run_build
"Frontend install failed! Check the logs for details.",
File "/home/user/PycharmProjects/Rasa_chatbot/venv/lib/python3.6/site-packages/rasax/community/api/blueprints/interface.py", line 37, in _write_index_html
os.mkdir(path)
FileNotFoundError: [Errno 2] No such file or directory: '/home/user/PycharmProjects/Rasa_chatbot/venv/lib/python3.6/site-packages/rasax/community/api/blueprints/../../../../../../src/frontend/build' /home/user/PycharmProjects/Rasa_chatbot/venv/lib/python3.6/site-packages/rasa/core/training/dsl.py:422: UserWarning: Found unknown intent 'greet' on line 2. Please, make sure that all intents are listed in your domain yaml. docs=DOCS_URL_DOMAINS,
The server is running at http://localhost:5002/login?username=me&password=weZD6Q9KLFjUN
2020-03-28 13:28:24.557697: E tensorflow/stream_executor/cuda/cuda_driver.cc:351] failed call to cuInit: UNKNOWN ERROR (303)
When I execute "rasa train" and "rasa shell" commands then I have no
errors but when I execute the "rasa x" command then I'm getting error?
Rasa X 最新版本(0.27.1) 有bug,请按照以下步骤使Rasa X 正常工作-
- 卸载“rasa”、“rasa-sdk”和“rasa-x”(如果已安装)
通过这个命令安装Rasa X 0.26.3-
pip install rasa-x==0.26.3 --extra-index-url https://pypi.rasa.com/simple
- (这将自动安装兼容的 rasa 版本)
- (还要确保按照默认设置使用 pip / pip3 python)
通过“rasa init”创建一个演示机器人
输入“rasa x”
Here comes the latest version of Rasa x just update your Rasa x with
below command:
I tested it, its working fine. Just update it
pip install rasa-x==0.27.2 --extra-index-url https://pypi.rasa.com/simple
Activate virtual environment before running this code.
Note Configuration:
Rasa - 1.9.3
Rasa SDK - 1.9.0
Rasa x - 0.27.2
Don't install Rasa X versions(0.27.0 & 0.27.1) dependencies are not
supported.
我有一个关于 Rasa X 的问题。安装部分是成功的,但是当我执行 "rasa x" 命令时,我遇到了以下错误,并且打开了一个新的浏览器 window 并且显示带有文字的猫图片:"Frontend compiling-and now ...we wait"
(venv) user@DELL-Admin:~/PycharmProjects/Rasa_chatbot$ rasa x
Starting Rasa X in local mode...
Building frontend (development mode)...
make: *** No rule to make target 'install-frontend'. Stop.
Failed to install frontend dependencies. Check logs for details.
Process Process-2:
Traceback (most recent call last):
File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in
_bootstrap
self.run()
File "/usr/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/home/user/PycharmProjects/Rasa_chatbot/venv/lib/python3.6/site-packages/rasax/community /api/blueprints/interface.py", line 65, in run_build
"Frontend install failed! Check the logs for details.",
File "/home/user/PycharmProjects/Rasa_chatbot/venv/lib/python3.6/site-packages/rasax/community/api/blueprints/interface.py", line 37, in _write_index_html
os.mkdir(path)
FileNotFoundError: [Errno 2] No such file or directory: '/home/user/PycharmProjects/Rasa_chatbot/venv/lib/python3.6/site-packages/rasax/community/api/blueprints/../../../../../../src/frontend/build' /home/user/PycharmProjects/Rasa_chatbot/venv/lib/python3.6/site-packages/rasa/core/training/dsl.py:422: UserWarning: Found unknown intent 'greet' on line 2. Please, make sure that all intents are listed in your domain yaml. docs=DOCS_URL_DOMAINS,
The server is running at http://localhost:5002/login?username=me&password=weZD6Q9KLFjUN
2020-03-28 13:28:24.557697: E tensorflow/stream_executor/cuda/cuda_driver.cc:351] failed call to cuInit: UNKNOWN ERROR (303)
When I execute "rasa train" and "rasa shell" commands then I have no errors but when I execute the "rasa x" command then I'm getting error?
Rasa X 最新版本(0.27.1) 有bug,请按照以下步骤使Rasa X 正常工作-
- 卸载“rasa”、“rasa-sdk”和“rasa-x”(如果已安装)
通过这个命令安装Rasa X 0.26.3-
pip install rasa-x==0.26.3 --extra-index-url https://pypi.rasa.com/simple
- (这将自动安装兼容的 rasa 版本)
- (还要确保按照默认设置使用 pip / pip3 python)
- (这将自动安装兼容的 rasa 版本)
通过“rasa init”创建一个演示机器人
输入“rasa x”
Here comes the latest version of Rasa x just update your Rasa x with below command: I tested it, its working fine. Just update it
pip install rasa-x==0.27.2 --extra-index-url https://pypi.rasa.com/simple
Activate virtual environment before running this code.
Note Configuration:
Rasa - 1.9.3
Rasa SDK - 1.9.0
Rasa x - 0.27.2
Don't install Rasa X versions(0.27.0 & 0.27.1) dependencies are not supported.