关于运行robot framework 报错解决方法,ModuleNotFoundError: No module named 'robot'

报错:

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')

电脑上装了python2和python3 都设置了环境变量,后来把C:\Python27\Scripts\rebot.bat 也加到环境变量中,就可以了

运行成功

猜你喜欢

转载自www.cnblogs.com/pingguo-softwaretesting/p/8989536.html