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

vanet.py issue #527

Closed
mfatihkoc opened this issue Mar 11, 2024 · 11 comments
Closed

vanet.py issue #527

mfatihkoc opened this issue Mar 11, 2024 · 11 comments

Comments

@mfatihkoc
Copy link

mfatihkoc commented Mar 11, 2024

**Hi,

(Python 3.10.12)

I wanted to run vanet.py example actually I receive various error with following Reproducibility steps:**

  • ~/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

That is why I run sudo su instead. and became root: however I received following error.

root@ubuntu:/home/ubuntu/mininet-wifi/reproducible-research/mininet-wifi# cd IEEE-Access-2017/
root@ubuntu:/home/ubuntu/mininet-wifi/reproducible-research/mininet-wifi/IEEE-Access-2017# ls
README.md vanet.py
root@ubuntu:/home/ubuntu/mininet-wifi/reproducible-research/mininet-wifi/IEEE-Access-2017# python3 vanet.py
Traceback (most recent call last):
File "/home/ubuntu/mininet-wifi/reproducible-research/mininet-wifi/IEEE-Access-2017/vanet.py", line 15, in
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)

@ramonfontes
Copy link
Member

Please make sure you have the mn-wifi code base from 2017.

@mfatihkoc
Copy link
Author

@ramonfontes
Copy link
Member

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

This doesn't mean that you have the mininet-wifi code from 2017 :(

@mfatihkoc
Copy link
Author

I am trying to run the vanet.py code in IEEE-Access-2017.

@ramonfontes
Copy link
Member

You are trying to run a script. What about the mn-wifi code base??

@ramonfontes ramonfontes reopened this Mar 11, 2024
@mfatihkoc
Copy link
Author

sorry but what does it mean (mn-wifi code base), I run ~/mininet-wifi/reproducible-research/mininet-wifi/IEEE-Access-2017$ sudo python vanet.py already. do I need to run another script something else?

@mfatihkoc
Copy link
Author

It could be nice that you share the video clearly with steps, that you are running already here Video clip available at: https://www.youtube.com/watch?v=kO3O9EwrP_s

@ramonfontes
Copy link
Member

ramonfontes commented Mar 11, 2024

Which version of mn-wifi do you have?? ;/ Did you install a version from 2017??

@mfatihkoc
Copy link
Author

Previously I was able to see version however after cloning IEEE 2017.

I receive wifi@wifi-virtualbox:~/mininet-wifi$ pip show mininet-wifi
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
WARNING: Package(s) not found: mininet-wifi

@mfatihkoc
Copy link
Author

wifi@wifi-virtualbox:/mininet-wifi/reproducible-research/mininet-wifi$ pip show mininet-wifi
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
WARNING: Package(s) not found: mininet-wifi
wifi@wifi-virtualbox:
/mininet-wifi/reproducible-research/mininet-wifi$ python3 --version
Python 3.8.5

@ramonfontes
Copy link
Member

ramonfontes commented Mar 11, 2024

Closing the issue as the information described above are not consistent.

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