python-3.x 为什么Rasa init没有被执行?

2ul0zpep  于 2023-04-08  发布在  Python
关注(0)|答案(1)|浏览(165)

我已经使用下面的命令在我的Windows 10上安装了Rasa。

d:\Learning\vs_rasa_4_beg_udemy>python -m venv ./venv
d:\Learning\vs_rasa_4_beg_udemy>.\venv\Scripts\activate

(venv) d:\Learning\vs_rasa_4_beg_udemy>pip3 install -U --user pip
(venv) d:\Learning\vs_rasa_4_beg_udemy>python -m pip install --upgrade pip
(venv) d:\Learning\vs_rasa_4_beg_udemy>pip3 install rasa

经过以上几点,我都跑了

(venv) d:\Learning\vs_rasa_4_beg_udemy>rasa init

我得到的信息是
“Rasa”不能被识别为内部或外部命令、可操作程序或批处理文件。
我试着重新运行pip3 install rasa,结果显示所有要求都得到了满足。为什么rasa init没有得到执行?应该怎么做?感谢您的输入。

(venv) d:\Learning\vs_rasa_4_beg_udemy>pip3 install rasa

Requirement already satisfied: rasa in d:\learning\vs_rasa_4_beg_udemy\venv\lib\site-packages (0.0.5)
Requirement already satisfied: requests in d:\learning\vs_rasa_4_beg_udemy\venv\lib\site-packages (from rasa) (2.26.0)
Requirement already satisfied: charset-normalizer~=2.0.0 in d:\learning\vs_rasa_4_beg_udemy\venv\lib\site-packages (from requests->rasa) (2.0.6)
Requirement already satisfied: certifi>=2017.4.17 in d:\learning\vs_rasa_4_beg_udemy\venv\lib\site-packages (from requests->rasa) (2021.5.30)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in d:\learning\vs_rasa_4_beg_udemy\venv\lib\site-packages (from requests->rasa) (1.26.7)
Requirement already satisfied: idna<4,>=2.5 in d:\learning\vs_rasa_4_beg_udemy\venv\lib\site-packages (from requests->rasa) (3.2)
toe95027

toe950271#

请检查您使用的Python版本是否与rasa requirements匹配(目前仅支持Python 3.63.73.8
编者按:截至2023年4月,
目前,Rasa支持以下Python版本:3.7、3.8、3.9和3.10。请注意,Python 3.10仅支持3.4.x及以上版本。此外,在Apple Silicon上使用Python 3.10安装Rasa在3.4.x中不起作用,但从3.5.x开始将支持。

相关问题