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

ImportError: cannot import name 'OVSKernelAP' from 'mininet.node' #25

Open
mfatihkoc opened this issue Mar 12, 2024 · 2 comments
Open

Comments

@mfatihkoc
Copy link

Hi,

I faced following problem### ImportError: cannot import name 'OVSKernelAP' from 'mininet.node'

this is additional details after sudo make install
_Installed /usr/local/lib/python3.10/dist-packages/mininet_wifi-2.6-py3.10.egg
Processing dependencies for mininet-wifi==2.6
Searching for setuptools==59.6.0
Best match: setuptools 59.6.0
Adding setuptools 59.6.0 to easy-install.pth file

Using /usr/lib/python3/dist-packages
Searching for matplotlib==3.5.1
Best match: matplotlib 3.5.1
Adding matplotlib 3.5.1 to easy-install.pth file

Using /usr/lib/python3/dist-packages
Finished processing dependencies for mininet-wifi==2.6_

p@p:/Downloads/mininet-wifi$ cd reproducible-research/mininet-wifi/IEEE-Access-2017
**p@p:
/Downloads/mininet-wifi/reproducible-research/mininet-wifi/IEEE-Access-2017$ sudo python3 vanet.py
Traceback (most recent call last):
File "/home/p/Downloads/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)**

@mfatihkoc
Copy link
Author

/home/myname/mininet-wifi/reproducible-research contains IEEE-Access-2017 folder by cloned git clone https://github.com/ramonfontes/reproducible-research sources.
my minenet version is 2.6
python is 3.10

since packet error is on mininet/node.py. there is no packet in /home/myname/mininet-wifi/reproducible-research

that python script is on following directory
/home/myname/mininet-wifi/mininet/mininet/node.py

@mfatihkoc
Copy link
Author

  • ~/mininet-wifi$ sudo rm -r /usr/local/lib/python2.7/dist-packages/mininet*
    after this line and I receive no mininet module error and
    ~/mininet-wifi$ sudo make install gives make: *** No rule to make target 'install'. Stop.

I do not understand always different errors are poping. anybody run this experiment recently without any error? is this updated or something missing?

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

1 participant