You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, this code is indeed invalid in Python3.
If someone wants to update the code and validate it with a recent version of Python, a PR would be very welcome.
I have opened a pull request to update the code (#600). The update is straightforward because stringify() implements the equivalent functionality of int.to_bytes in Python 3.
I am following the README here: https://github.com/p4lang/PI/tree/main/proto/ptf
I get the error
I am using the vm in
https://github.com/p4lang/tutorials/tree/master/vm-ubuntu-20.04
The vm uses python version 3.8. I am not sure which is expected for it work?
The text was updated successfully, but these errors were encountered: