Hello everyone,
I’m currently working on my Bachelor’s thesis, where I’m performing an experimental simulation involving around 200 mobile stations connecting to multiple APs in an urban environment controlled by SUMO.
On my Ubuntu 20.04.6 LTS system, everything worked correctly.
I installed Mininet-WiFi using the standard steps:
However, since my current machine does not have enough CPU cores to handle 200 stations, I moved to a VM running Ubuntu 24.04.1 LTS with 16 cores.
Unfortunately, every time I try to install Mininet-WiFi on Ubuntu 24.04, I face various issues.
This time, after running the same installation steps, I noticed that only the mininet package was installed under /usr/local/lib/python3.12/dist-packages, but the mn_wifi package was missing.
This suggests that the installation script didn’t properly install the Mininet-WiFi modules.
The logs also showed multiple Python package incompatibility errors, especially involving:
NumPy 2.x (default on Ubuntu 24.04) conflicting with modules compiled for NumPy 1.x,
Matplotlib and networkx/scapy dependencies during the install.sh process.
On Ubuntu 20.04 these problems never occurred, and everything ran fine.
So, I’d like to ask the community: Would you recommend creating a VM with Ubuntu 20.04.6 LTS instead of 24.04 for now?
or
Is there any known solution o solve my problem in Ubuntu 24.04 ?
In attachment: I’ve included the full log file showing the mn execution error and the NumPy incompatibility message.
Thanks a lot for your support — it’s been an essential part of my thesis research!
Best regards,
Elena
Hi Ramon,
thank you so much! Your fix helped me a lot — everything works now.
Best regards,
Elena