* Building of dev-python/argparse-1.2.1 with CPython 2.7... python2.7 setup.py build -b build-2.7 Traceback (most recent call last): File "setup.py", line 3, in <module> from setuptools import setup, find_packages ImportError: No module named setuptools
dev-python/argparse already properly DEPENDs on dev-python/setuptools, so you probably need to run python-updater. If that does not fix the issue: 1) Attach the entire failing build log to this bug report. 2) Post your `emerge --info' output in a comment.
Can you share the output of # emerge --info | fgrep USE_PYTHON and # eselect python show 2 with us? For comparison, I get this over here: # emerge --info | fgrep USE_PYTHON USE_PYTHON="2.6 2.7 3.1 3.2" # eselect python show --python2 python2.6 Before running python-updater, make sure that USE_PYTHON in /etc/make.conf does what you want.
Er, oh. Well, go ahead, then.
(In reply to comment #2) > Can you share the output of > > # emerge --info | fgrep USE_PYTHON > > and > > # eselect python show 2 > > with us? For comparison, I get this over here: > > # emerge --info | fgrep USE_PYTHON > USE_PYTHON="2.6 2.7 3.1 3.2" > # emerge --info | fgrep USE_PYTHON Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON > # eselect python show --python2 > python2.6 > # eselect python show --python2 python2.7
python-updater will use the active version of python by default. In this case, python2.7. It is not necessary to set USE_PYTHON if unless you want to utilize multiple versions of python at once. So yes, please just run python-updater. If that does not work, reopen this.