About running robot framework error solution, ModuleNotFoundError: No module named 'robot'

Error:

command: pybot.bat --argumentfile c:\users\76776\appdata\local\temp\RIDEiw0utf.d\argfile.txt --listener C:\Python27\lib\site-packages\robotide\contrib\testrunner\TestRunnerAgent.py:54514:False D:\my_rfw\TCP
unexpected error: C:\Python36\python.exe: Error while finding module specification for 'robot.run' (ModuleNotFoundError: No module named 'robot')

Both python2 and python3 are installed on the computer, and the environment variables are set. Later, C:\Python27\Scripts\rebot.bat is also added to the environment variables, and that's it.

run successfully

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325286673&siteId=291194637