ramonfontes / reproducible-research

62 stars 35 forks source link

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

Open mfatihkoc opened 6 months ago

mfatihkoc commented 6 months ago

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 commented 6 months ago

/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 commented 5 months ago

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