已关闭
[Bug-Report|缺陷反馈]: UT测试文档未声明pybind11 pip依赖 #4283
chenyifan创建于  29 天前关闭于  28 天前
chenyifan
chenyifan
29 天前 创建

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

Describe the current behavior / 问题描述 (Mandatory / 必填)

compile.md的UT测试章节指示安装tests/requirements.txt(仅含tensorflow和valgrind),但构建过程中pypto codegen需要pybind11 pip包,导致首次执行bash build.sh -u时报ModuleNotFoundError: No module named 'pybind11'而失败。文档既未在tests/requirements.txt中声明该依赖,也未在UT测试步骤中提及需手动安装pybind11 pip包

Environment / 环境信息 (Mandatory / 必填)

Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

build.sh -u时报ModuleNotFoundError: No module named 'pybind11'`

Describe the expected behavior / 预期结果 (Mandatory / 必填)

无缺失依赖报错

Special notes for this issue/备注 (Optional / 选填)

likedislike
chenyifan
chenyifan
29 天前 评论:

/assign @mutex_lock

likedislike
CANN-robotCANN-robot成员
29 天前 将 mutex_lock 设为负责人
chenyifanchenyifan
29 天前 关联了pull request:添加pybind11依赖声明
CANN-robotCANN-robot成员
28 天前 关闭了 issue
CANN-robotCANN-robot成员
28 天前 添加了label:resolved