p4-learning icon indicating copy to clipboard operation
p4-learning copied to clipboard

About sswitch_runtime

Open Eternity-Wang opened this issue 3 years ago • 1 comments

I meet this problem when I run the sentence "sudo python3 l2_learning_controller.py s1 cpu" The problem:

Traceback (most recent call last): File "/home/wly/p4-learning/exercises/04-L2_Learning/thrift/l2_learning_controller.py", line 4, in from p4utils.utils.sswitch_thrift_API import SimpleSwitchThriftAPI File "/home/wly/p4-utils/p4utils/utils/sswitch_thrift_API.py", line 34, in from sswitch_runtime import SimpleSwitch ModuleNotFoundError: No module named 'sswitch_runtime'

How can I fix it in a right way? Thanks.

Eternity-Wang avatar Jul 06 '22 01:07 Eternity-Wang

Have you solved this problem? I also had this problem

YXY-1998 avatar Oct 08 '22 06:10 YXY-1998