Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About sswitch_runtime #38

Open
Eternity-Wang opened this issue Jul 6, 2022 · 1 comment
Open

About sswitch_runtime #38

Eternity-Wang opened this issue Jul 6, 2022 · 1 comment

Comments

@Eternity-Wang
Copy link

Eternity-Wang commented Jul 6, 2022

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 Eternity-Wang changed the title About About sswitch_runtime Jul 6, 2022
@YXY-1998
Copy link

YXY-1998 commented Oct 8, 2022

Have you solved this problem? I also had this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants