0

安装rasa x成功,但提示rasax找不到该模块。

Python版本:3.6.5

点子版本:21.1.2

拉萨版本:1.9.5

amit.pathak@AmitPathak-L MINGW64 /d/ (master)
$ "C:\Python365\python.exe" -m pip install rasa-x --extra-index-url https://pypi.rasa.com/simple
Looking in indexes: https://pypi.org/simple, https://pypi.rasa.com/simple
Requirement already satisfied: rasa-x in c:\python365\lib\site-packages (0.0.1)
(venv) 
amit.pathak@AmitPathak-L MINGW64 /d/ (master)
$ "C:\Python365\python.exe" -m rasa x
Traceback (most recent call last):
  File "C:\Python365\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Python365\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Python365\lib\site-packages\rasa\__main__.py", line 102, in <module>
    main()
  File "C:\Python365\lib\site-packages\rasa\__main__.py", line 91, in main     
    cmdline_arguments.func(cmdline_arguments)
  File "C:\Python365\lib\site-packages\rasa\cli\x.py", line 326, in rasa_x     
    run_locally(args)
  File "C:\Python365\lib\site-packages\rasa\cli\x.py", line 414, in run_locally
    from rasax.community import local  # pytype: disable=import-error
ModuleNotFoundError: No module named 'rasax'
4

1 回答 1

1

我对 rasa-x 有类似的问题。
尝试这个:

pip:21.1.2
Rasa 版本:2.7.0
最低兼容版本:2.6.0
Rasa SDK 版本:2.7.0
Rasa X 版本:0.40.1
Python 版本:3.8.9

pip install -U pip & rasa-x --extra-index-url https://pypi.rasa.com/simple --use-deprecated=legacy-resolver

于 2021-06-07T20:35:31.587 回答