Giter Site home page Giter Site logo

Comments (11)

ramonfontes avatar ramonfontes commented on September 4, 2024

The error means that you haven't installed all the mn-wifi dependencies. Please make sure that you have installed mn-wifi successfully.

from mininet-wifi.

mfatihkoc avatar mfatihkoc commented on September 4, 2024

I follow here what else to follow the mininetwifi dependency then

https://github.com/ramonfontes/mn-wifi-ebook/blob/main/beginner.md

from mininet-wifi.

mfatihkoc avatar mfatihkoc commented on September 4, 2024

my mininet wifi version is 2.6

from mininet-wifi.

mfatihkoc avatar mfatihkoc commented on September 4, 2024
  • ~/mininet-wifi$ git clone https://github.com/ramonfontes/reproducible-research
  • ~/mininet-wifi$ sudo rm -r /usr/local/lib/python2.7/dist-packages/mininet*
  • ~/mininet-wifi$ git reset --hard b43af65
  • ~/mininet-wifi$ sudo make install
  • ~/mininet-wifi$ cd reproducible-research/mininet-wifi/IEEE-Access-2017
  • ~/mininet-wifi/reproducible-research/mininet-wifi/IEEE-Access-2017$ sudo python vanet.py

from

https://github.com/ramonfontes/reproducible-research/blob/master/mininet-wifi/IEEE-Access-2017/README.md

Screenshot from 2024-04-12 12-31-56

I am in the mininet-wifi folder and I follow above Reproducibility steps many times. cloned and deleted de to errors. are you sure this are updated?

from mininet-wifi.

ramonfontes avatar ramonfontes commented on September 4, 2024

make install will only work if you have mininet-wifi installed.

from mininet-wifi.

ramonfontes avatar ramonfontes commented on September 4, 2024

By the way, it seems to me that you are using python3. The code in 2017 was prepared for python2.

from mininet-wifi.

mfatihkoc avatar mfatihkoc commented on September 4, 2024

Python 2.7.18 dowloaded now.

ImportError: No module named matplotlib.pyplot occuring, I am not sure that I need to dowload again this modules or what to do?

you have not updated with the current versions these code scripts? are you able to run by 2024 this codes?

from mininet-wifi.

ramonfontes avatar ramonfontes commented on September 4, 2024

you have not updated with the current versions these code scripts?

Why would I do that? I can't check every code I produce.

are you able to run by 2024 this codes?

Yes if I have all dependencies satisfied.

from mininet-wifi.

mfatihkoc avatar mfatihkoc commented on September 4, 2024

from mininet.node import Controller, OVSKernelSwitch, OVSKernelAP, Car
ImportError: cannot import name 'OVSKernelAP' from 'mininet.node' (/usr/local/lib/python3.10/dist-packages/mininet/node.py)

this is regarding OVSKernelAP error
Screenshot from 2024-04-12 13-43-45

so should I UPDATE the code to the python 3 way or is that posible to run with python2 but with this I see errors of modules

from mininet-wifi.

ramonfontes avatar ramonfontes commented on September 4, 2024

You have to run the code as it is. However, you have to solve the issues with dependencies. There is no point in sending screenshots of missing dependencies when the error msg is already there. It already says what you should do: install matplotlib with pyplot support.

from mininet-wifi.

mfatihkoc avatar mfatihkoc commented on September 4, 2024

I send because my matplotlib is already running with python3 itself easly with another simple example of python where I tested with different code, however running with python2 is problematic.

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.