I've got Python 2.7 and Python 3.2 installed with Python 3.2 as the default; this is the standard situation for new installs of Gentoo. Attempting to emerge nml-0.2.3 gives the following output: >>> Compiling source in /var/tmp/portage/games-util/nml-0.2.3/work/nml-0.2.3 ... python2.7 setup.py build Traceback (most recent call last): File "setup.py", line 5, in <module> from setuptools import setup ImportError: No module named setuptools This happens because dev-python/setuptools only installs the setuptools module for Python 3.2. Reproducible: Always
And I should do what with yet again completely broken python. Afaik also python should still default to 2.x.
Bug reporter forgot to run python-updater.
(In reply to comment #2) > Bug reporter forgot to run python-updater. That fixed it. It sounds like the Python ebuild needs to be changed. Right now, the ebuild only tells you to run python-updater if you've *upgraded* Python, and I didn't -- I installed Python 2.7 when I already had 3.2 installed. The ebuild should tell you to run python-updater any time you've installed a new slot version of Python.
(In reply to comment #3) > (In reply to comment #2) > > Bug reporter forgot to run python-updater. > > That fixed it. Not a bug then :) > It sounds like the Python ebuild needs to be changed. Right now, the ebuild > only tells you to run python-updater if you've *upgraded* Python, and I > didn't -- I installed Python 2.7 when I already had 3.2 installed. The > ebuild should tell you to run python-updater any time you've installed a new > slot version of Python. This is slightly beyond the scope of this bug. However, with the changes that are currently being implemented that ought to get better over time.