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

简介: 关于运行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 也加到环境变量中,就可以了

运行成功1268169-20180504104733646-2082381885.png


 


相关文章
|
6月前
|
Ubuntu Python
【Python】报错ModuleNotFoundError: No module named ‘XXX‘
【Python】报错ModuleNotFoundError: No module named ‘XXX‘
|
4月前
|
Python
【Python】已解决ModuleNotFoundError: No module named ‘requests’
【Python】已解决ModuleNotFoundError: No module named ‘requests’
2031 2
|
4月前
|
自然语言处理 Java Python
【Python】已解决:ModuleNotFoundError: No module named ‘pyhanlp’
【Python】已解决:ModuleNotFoundError: No module named ‘pyhanlp’
71 0
|
4月前
|
数据挖掘 程序员 Python
【Python】已解决:ModuleNotFoundError: No module named ‘Workbook’
【Python】已解决:ModuleNotFoundError: No module named ‘Workbook’
74 0
|
Python
spyder下报错ModuleNotFoundError: No module named
spyder下报错ModuleNotFoundError: No module named
416 0
pip安装skbuild报错:ModuleNotFoundError: No module named ‘skbuild’解决方法
pip安装skbuild报错:ModuleNotFoundError: No module named ‘skbuild’解决方法,换源
739 0
|
Python
1. 成功解决 Bug:ModuleNotFoundError: No module named 'pip'
Traceback (most recent call last): File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 87, in _ru
202 0
PYTHON3.x报错:MODULENOTFOUNDERROR:NO MODULE NAMED “CRYPTO“ 解决方案
PYTHON3.x报错:MODULENOTFOUNDERROR:NO MODULE NAMED “CRYPTO“ 解决方案
185 0
|
机器学习/深度学习 算法 安全
解决ModuleNotFoundError: No module named ‘dlib‘问题-提供3.7x与3.9两个版本
解决ModuleNotFoundError: No module named ‘dlib‘问题-提供3.7x与3.9两个版本
1171 0
解决ModuleNotFoundError: No module named ‘dlib‘问题-提供3.7x与3.9两个版本
|
Linux
原因及解决办法:Failed to load module “canberra-gtk-module“
原因及解决办法:Failed to load module “canberra-gtk-module“
859 0