Skip to content

执行命令报错 No module named 'udf' #1

@thestarshing

Description

@thestarshing

在安装完依赖后,执行这个代码
python3 compiler.py -i examples/newconn.py -p4o output/newconn/newconn.p4 -p4s [-p4v]
出现了这个报错
Traceback (most recent call last): File "compiler.py", line 6, in <module> from udf.tree_partition import count_indent ModuleNotFoundError: No module named 'udf'
请问作者这个怎么解决,我看是缺少这个模块,但是不知道怎么下载

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions