Sarada Akurathi Sarada Akurathi - 15 days ago 4
Python Question

'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

Answer

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