无法将"rasa"识别为内部或外部命令,可操作程序或批处理文件 [英] 'rasa' is not recognized as an internal or external command, operable program or batch file

查看:1003
本文介绍了无法将"rasa"识别为内部或外部命令,可操作程序或批处理文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无法运行rasa init命令并出现以下错误: 无法将"rasa"识别为内部或外部命令,可操作程序或批处理文件.

Unable to run the rasa init command and getting following error: 'rasa' is not recognized as an internal or external command, operable program or batch file.

我的环境中具有以下版本的RASA: 拉萨核心0.13.2 rasa-core-sdk 0.12.2 拉萨诺0.14.6 rasa-sdk 1.2.0

I have following version of RASA in my environment: rasa-core 0.13.2 rasa-core-sdk 0.12.2 rasa-nlu 0.14.6 rasa-sdk 1.2.0

推荐答案

希望您现在就可以使用它,但是如果没有,您也可以

Hopefully you got it working by now, but if not you can either

1)尝试在Advanced System Settings > Environment Variables中设置Python路径. (理想情况下,我们希望将其放在顶层文件夹中)

1) Try setting the Python path in Advanced System Settings > Environment Variables. (ideally we want it in a top-level folder)

2)使用图形安装程序重新安装Python.以管理员身份运行常规的Python安装程序.请务必点击小的添加到路径"复选框,否则所有这些都将一无所有! (对我个人而言,这比手动调整环境变量中的路径要容易得多.) 然后选择自定义安装位置".单击为所有用户安装"将自动将安装路径更改为C:Program Files文件夹.

2) Re-install Python using the graphical installer. Run the regular Python installer as administrator. BE SURE to click the little ‘Add to PATH’ checkbox, or all this will be for naught!! (For me personally this is a lot easier than manually adjusting the path in environment variables.) Then choose "Custom install location." Clicking "Install for all users" should automatically change the install path to the C:Program Files folder.

3)您也可以通过选择Programs > Programs and Features > Modify/Repair来执行此操作,而无需完全重新安装.

3) You may also be able to do this without a full reinstall by selecting Programs > Programs and Features > Modify/Repair.

这篇关于无法将"rasa"识别为内部或外部命令,可操作程序或批处理文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆