Python 2.7 is the default, but not the one used by Setuptools

Hi,
i was making a fresh install (13.2), and started bringing the libs for python, the default is python 2.7.8,
but after i tried pip install motor, i got a problem with greenlet, then i tried to install it manually (from the source) and the same thing, and at the end, i figured out, that pip uses python 3, ok, i uninstalled it, and install it from the source, but… when executed it again, uses python 3 ! why? simply because setuptools uses python 3, so just uninstall setuptools, download the source, make the install from the source (sudo python setup.py install) and everything will be bound to python 2.7.8.
happy coding :slight_smile:

There are two setuptools


S | Name                   | Summary                                                                 | Type   
--+------------------------+-------------------------------------------------------------------------+--------
  | python-setuptools      | Easily download, build, install, upgrade, and uninstall Python packages | package
  | python-setuptools-git  | Setuptools revision control system plugin for Git                       | package
i | python3-setuptools     | Easily download, build, install, upgrade, and uninstall Python packages | package
  | python3-setuptools-git | Setuptools revision control system plugin for Git                       | package

You were using the setuptools for 3, not 2.7

i choosed the default installation, which took the 3’s one :smiley:

setuptools should follow the default interpreter, and the installation took the 2.7.8

Please report it as a bug in the Bugzilla, python should install python-setuptools by default and not python3-setuptools.

ok, filling the ticket :slight_smile: