首页 新闻 会员 周边 捐助

求助!如何解决:Robotframework 导入 Excellibrary 库 报错。

0
[待解决问题]

求助!Robotframework 使用 Excellibrary 库 报错。
robotframework-excellibrary 0.0.2

python版本:python 3.7.4
robotframework版本:3.2.2
natsort 7.1.0
xlrd 2.0.1
xlutils 2.0.0
xlwt 1.3.0

20201228 00:44:32.457 [WARN]: Importing test library "Excellibrary" failed

Traceback (most recent call last):
Importing test library 'Excellibrary' failed: ModuleNotFoundError: No module named 'Excellibrary'
Traceback (most recent call last):
File "D:\Python3\python3_azmulu\lib\site-packages\robotide\lib\robot\utils\importer.py", line 153, in _import
return import(name, fromlist=fromlist)
PYTHONPATH:
D:\Python3\python3_azmulu\python37.zip
D:\Python3\python3_azmulu\DLLs
D:\Python3\python3_azmulu\lib
D:\Python3\python3_azmulu
D:\Python3\python3_azmulu\lib\site-packages
D:\Python3\python3_azmulu\lib\site-packages\win32
D:\Python3\python3_azmulu\lib\site-packages\win32\lib
D:\Python3\python3_azmulu\lib\site-packages\Pythonwin
D:\Python3\python3_azmulu\lib\site-packages\robotide\spec
D:\Python3\python3_azmulu\lib\site-packages\robotide\lib
D:\Python3\python3_azmulu\lib\site-packages\robotide\contrib\testrunner../../lib
D:\Python3\python3_azmulu\lib\site-packages\robotide\contrib\testrunner../../lib
File "D:\Python3\python3_azmulu\lib\site-packages\robotide\spec\librarymanager.py", line 87, in _fetch_keywords
return get_import_result(path, library_args)
File "D:\Python3\python3_azmulu\lib\site-packages\robotide\spec\libraryfetcher.py", line 24, in get_import_result
lib = robotapi.TestLibrary(path, args)
File "D:\Python3\python3_azmulu\lib\site-packages\robotide\lib\robot\running\testlibraries.py", line 50, in TestLibrary
return_source=True)
File "D:\Python3\python3_azmulu\lib\site-packages\robotide\lib\robot\utils\importer.py", line 72, in import_class_or_module
self._raise_import_failed(name, err)
File "D:\Python3\python3_azmulu\lib\site-packages\robotide\lib\robot\utils\importer.py", line 109, in _raise_import_failed
raise DataError('\n'.join(msg))

小鱼不愚的主页 小鱼不愚 | 菜鸟二级 | 园豆:202
提问于:2020-12-28 01:06
< >
分享
所有回答(1)
0

你看下你依赖的excel包是不是都导入好了,你发这个信息看不出是什么问题?

yinrw | 园豆:202 (菜鸟二级) | 2020-12-30 14:49
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册