pybot is not recognized as an internal or external command while running from cmd

前端 未结 2 1936
北荒
北荒 2021-01-16 16:14

I get an issue when running the following command, in cmd:

pybot --version

Also given the correct environmental variable path

2条回答
  •  不要未来只要你来
    2021-01-16 16:44

    If you are using newer robotframework (like 3.1) and you really want to have an alias for robot (maybe because using some test runner like the one in RIDE), you can create the file pybot.batat C:\Python27\Scripts with the following content: @echo off python -m robot %*

提交回复
热议问题