软件已经可以运行,TestDemoPy也可以跑通。
现在碰到的问题是,测试用例需要用到第三方库,通过pip安装后,在TestDemo.py中添加import pyipmi,加载工程时就会报错,信息如下:
Traceback (most recent call last):
File "/home/test/AD_Autotest/build-TreeATE-Desktop-Debug/Example/TestDemoPy/TestDemo.py", line 3, in
import pyipmi
ModuleNotFoundError: No module named 'pyipmi'
Error at parser the python file:/home/test/AD_Autotest/build-TreeATE-Desktop-Debug/Example/TestDemoPy/TestDemo.py
请问应该如何使用第三方库?谢谢~
软件已经可以运行,TestDemoPy也可以跑通。
现在碰到的问题是,测试用例需要用到第三方库,通过pip安装后,在TestDemo.py中添加import pyipmi,加载工程时就会报错,信息如下:
Traceback (most recent call last):
File "/home/test/AD_Autotest/build-TreeATE-Desktop-Debug/Example/TestDemoPy/TestDemo.py", line 3, in
import pyipmi
ModuleNotFoundError: No module named 'pyipmi'
Error at parser the python file:/home/test/AD_Autotest/build-TreeATE-Desktop-Debug/Example/TestDemoPy/TestDemo.py
请问应该如何使用第三方库?谢谢~