Skip to content

请问python测试脚本如何import pyipmi这类通过pip安装的第三方库? #16

Description

@AmyY2000

软件已经可以运行,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

请问应该如何使用第三方库?谢谢~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions