ImportError : No module named setuptools
Matthew Barrera
I was installing mininet on my ubuntu 14.04.3 and during the installation, I got the error "ImportError : No module named setuptools". I tried to install it using sudo apt-get install python-setuptools and it shows that it is already the newest version. But still the installation fails.
For installing mininet I followed the steps on and tried the following commands
git clone git:// cd mininet git tag git checkout 2.2.1 util/install.sh -nthen the installation ran and stopped in between showing the error.
51 Answer
Use this command to install necessary package
sudo apt-get install python3-setuptoolsIf the application is python2 use this instead
sudo apt-get install python-setuptools 11