robot framework导入模块失败

Importing test library 'pylib.xxxx' failed: ModuleNotFoundError: No module named 'pylib'

1.进入D:AutoLibsite-packages目录,这里是你自己的目录
2.新建一个.pth文件,里面写工程路径

比如我的工程在这个目录

 

轻松解决~~~

原文地址:https://www.cnblogs.com/Lara1798/p/13219995.html