Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'pybot' is not recognized as an internal or external command

I installed Python2.7.12 and then installed robotframework using the below command

python -m pip install robotframework

it showed the result as installed successfully.

When i have given the command pybot --version it showed as

'pybot' is not recognized as an internal or external command

In environment variables python home set as C:\Python27 and C:\Python27\Scripts are set.

Please any can help me what can be reason for error

Thanks Sarada

like image 694
Sarada Akurathi Avatar asked Nov 18 '16 10:11

Sarada Akurathi


People also ask

What is Pybot in Python?

Soot is the premier open-source framework for analyzing and transforming Java and Android applications.

What is Pybot in Robot Framework?

pybot was the old way to run robot. It was a simple shell script on linux, and a . bat file on python. There were different startup scripts for different robot interpreters: pybot (python), jybot (jython), ipybot (ipython). In version 3.0 it was renamed to robot , based on enhancement request 2216.


2 Answers

Need to setup following in the environment variable PATH

C:\Python27\Lib\site-packages\robot;
C:\Python27;
C:\Python27\bin;

Thanks for your help JohnMayer and Waman.

It is working fine now

like image 98
Sarada Akurathi Avatar answered Oct 10 '22 04:10

Sarada Akurathi


Following steps worked for me:

  1. Add C:\Python27\Scripts to the path environment variable
  2. Create pybot.bat file inside above location and put robot %* this content.
like image 37
Vipul Sonar Avatar answered Oct 10 '22 03:10

Vipul Sonar