I get an issue when running the following command, in cmd:
pybot --version
Also given the correct environmental variable path
Given that downgrading to RF 3.0.2 solved the issue you have possibly had RF 3.1 installed previously.
In RF 3.1 old start-up scripts like pybot
are removed and it is a backwards incompatible change in RF 3.1.
You can check the release notes.
Old start-up scripts like
pybot
are removedOld start-up scripts
pybot
,jybot
,ipybot
,jyrebot
andipyrebot
have been removed in favor of the genericrobot
andrebot
scripts introduced in Robot Framework 3.0. (#2818)