GithubHelp home page GithubHelp logo

Comments (3)

Jagadeesh-Kalyanshetti-X avatar Jagadeesh-Kalyanshetti-X commented on July 22, 2024 1

I ran into the same issue recently. Here's the solution that worked for me:

  1. Open the terminal (Ctrl + Alt + T).
  2. If your mininet-wifi is in the home directory then copy-paste this command --> cd mininet-wifi/util
    (OR) Navigate to mininet-wifi directory in your machine via terminal and then change directory to util.
  3. Type --> gedit install.sh
  4. Click on the hamburger icon (three horizontal lines) next to the save option.
  5. Select 'Find and Replace'.
  6. In the 'Find' field, type --> pep8. In the 'Replace' field, type --> pycodestyle.
  7. Click 'Replace All' and save the file.
  8. Navigate back to the mininet-wifi directory by typing --> cd ..
  9. Everything is all set now. Ensure you are in the mininet-wifi directory and verify if the command works --> sudo util/install.sh -Wlnfv

Explanation of the Issue and Resolution:

The pep8 package was previously used to check Python code against the style conventions in PEP 8. It has since been replaced by pycodestyle, which is why pep8 is no longer available as an installation candidate in Ubuntu 23 and higher.

We resolved this by replacing all instances of pep8 in the install.sh file with pycodestyle. This ensures that any functionality related to pep8 required by mininet-wifi is now directed to pycodestyle.

from mininet-wifi.

emdneto avatar emdneto commented on July 22, 2024

Maybe replace by python3-pep8 https://packages.ubuntu.com/search?keywords=python3-pep8

from mininet-wifi.

Toyin-Osun avatar Toyin-Osun commented on July 22, 2024

I have followed the steps above to resolve the issue raised which I also encountered while trying to install mininet-wifi in ubuntu 24.04. Any one with solution

from mininet-wifi.

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.