Giter Club home page Giter Club logo

Comments (5)

edgar-costa avatar edgar-costa commented on June 26, 2024

I believe its a problem with your installation and python installation.

Can you try import p4utils with python3?

from p4-utils.

a5539322 avatar a5539322 commented on June 26, 2024

@edgar-costa hello I also encountered this problem, can you explain it in detail? I am a student, thank you very much

from p4-utils.

a5539322 avatar a5539322 commented on June 26, 2024

Replenish:I installed it using the "install-p4-dev.sh" provided on this website. This picture is the situation I encountered. It is the same as this problem. I will encounter this problem when using all the sample programs on the Internet. , except the "examples" provided by p4utils itself can be executed, others cannot. Please help me solve this problem. I really need to use this to complete my studies. Thank you.
messageImage_1702932855316

from p4-utils.

edgar-costa avatar edgar-costa commented on June 26, 2024

@a5539322 the problem you are showing in the screenshot has nothing to do with the thread.

Open a new issue. But in any case the problem is due to your code using the old version of p4-utils, p4net does not exist anymore. You will have to look at the new examples, there is plenty here: https://github.com/nsg-ethz/p4-learning/tree/master and translate your code so the imports work.

from p4-utils.

a5539322 avatar a5539322 commented on June 26, 2024

@edgar-costa Thank you very much for your help. Now I understand the situation I encountered. I will try to solve this problem again. Since I am only a student, I may have a poor understanding of many things. If I really can't solve it, I will ask again. Really Thank you very much for your help

from p4-utils.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.