无法从Powershell运行行为命令,得到错误“术语'行为'未被识别为cmdlet的名称”

问题描述

我已经为我的BDD项目安装了Behave,但是无法从PowerShell执行behave命令。工作站上无法访问命令行

即使安装了behave软件包,也无法运行bheave命令,我可以通过intellij中的行为配置成功运行

当我执行功能目录中的行为命令时,出现在错误

以下
Projects\python\PythonBehaveBDD\features> behave behave : The term 'behave' is not recognized as the name of a cmdlet,function,script file,or operable program. Check the spelling of the name,or if a path was included,verify that the path is correct and try again. At line:1 char:1 + behave + ~~~~~~ + CategoryInfo : ObjectNotFound: (behave:String) [],CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)