Skip to content

Instantly share code, notes, and snippets.

@KoteGhost
Created December 10, 2016 19:22
Show Gist options
  • Select an option

  • Save KoteGhost/b357fb3d7b085dced072bcd27f7e6a46 to your computer and use it in GitHub Desktop.

Select an option

Save KoteGhost/b357fb3d7b085dced072bcd27f7e6a46 to your computer and use it in GitHub Desktop.
How to fix “ImportError: No module named setuptools” on Linux
#To install setuptools on Debian, Ubuntu or Mint:
$ sudo apt-get install python-setuptools
#For Python 3.X applications, install python3-setuptools instead.
$ sudo apt-get install python3-setuptools
#On Red Hat based systems, setuptools comes pre-installed. For whatever reason if you want to install it, use the yum command.
$ sudo yum python-setuptools
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment