# emerge -pv dev-python/pyenchant These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-python/pyenchant-1.6.2 0 kB Total: 1 package (1 new), Size of downloads: 0 kB >>> Verifying ebuild manifests >>> Starting parallel fetch >>> Emerging (1 of 1) dev-python/pyenchant-1.6.2 * pyenchant-1.6.2.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] ... copying enchant/share/enchant/README.txt -> build-2.6/lib/enchant/share/enchant creating build-2.6/lib/enchant/share/enchant/ispell copying enchant/share/enchant/ispell/README.txt -> build-2.6/lib/enchant/share/enchant/ispell creating build-2.6/lib/enchant/share/enchant/myspell copying enchant/share/enchant/myspell/README.txt -> build-2.6/lib/enchant/share/enchant/myspell warning: build_py: byte-compiling is disabled, skipping. * Building of dev-python/pyenchant-1.6.2 with CPython 3.1... python3.1 setup.py build -b build-3.1 Traceback (most recent call last): File "setup.py", line 11, in <module> from setuptools import setup, find_packages, Extension ImportError: No module named setuptools * ERROR: dev-python/pyenchant-1.6.2 failed: * Building failed with CPython 3.1 in distutils_building() function * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 3320: Called distutils_src_compile * environment, line 999: Called python_execute_function 'distutils_building' * environment, line 2118: Called die * The specific snippet of code: * die "${failure_message}"; * * If you need support, post the output of 'emerge --info =dev-python/pyenchant-1.6.2', * the complete build log and the output of 'emerge -pqv =dev-python/pyenchant-1.6.2'. * The complete build log is located at '/tmp/portage/dev-python/pyenchant-1.6.2/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/dev-python/pyenchant-1.6.2/temp/environment'. * S: '/tmp/portage/dev-python/pyenchant-1.6.2/work/pyenchant-1.6.2' >>> Failed to emerge dev-python/pyenchant-1.6.2, Log file: >>> '/tmp/portage/dev-python/pyenchant-1.6.2/temp/build.log'
Created attachment 238237 [details] emerge --info
# eselect python list Available Python interpreters: [1] python2.6 * [2] python3.1
You failed to run python-updater after installing Python 3.1.
True. Running python-updater solved the problem. Thank you.