Mininet-ImportError: customClass

Posted by Blog - uTIcARdI on July 20, 2018

I tried to run miniedit.py after I have mininet installed, unfortunately, I got the error:

ImportError: cannot import name customClass.
Error
Error

Checked the py file: ~/mininet/mininet/util.py and miniedity.py, find nothing is wrong, search on the Internet, got no clue.

Suddenly I found the version is not the version I wanted to install (I forgot to take a screenshot, the version should be 2.2.2daily something).

I guess there must be something wrong with the latest version, or there are something conflict with my previous version (mininet 2.0.0 was installed on the PC before).

Resolution:

Follow the official guide to remove all mininet by following Option3, and install it again by following Option2, it works then:

run mininet
run mininet

Mininet-ImportError: customClass


donation

Scan the QR code using WeChat

comments powered by Disqus