Skip to content

p4run problem #68

@zwllwz823

Description

@zwllwz823

Hey everyone,
I just used copy my p4app.json to the p4run folder and use these commands:
p4run
sudo p4run
sudo p4run --config p4app.json
But all of these commands gives me the feedback:

Traceback (most recent call last):
File "/usr/local/bin/p4run", line 11, in
load_entry_point('p4utils', 'console_scripts', 'p4run')()
File "/home/zwl/p4-utils/p4utils/p4run.py", line 736, in main
app = AppRunner(args.config,
File "/home/zwl/p4-utils/p4utils/p4run.py", line 308, in init
mininet = load_custom_object(mininet_module)
File "/home/zwl/p4-utils/p4utils/utils/helper.py", line 321, in load_custom_object
module = importlib.import_module(module_name)
File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'p4utils.mininetlib.p4net'

I tried many ways but no one works.
I even uninstall p4utils and install again in my VM but it still goes wrong.
can anyone help me please...

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