pytz is needed as a dependency of matplotlib-0.90.1 but the emerge of pytz fails at when it comes to the installation. The relevant output: >>> Install pytz-2007f into /var/tmp/portage/dev-python/pytz-2007f/image/ category dev-python running install Checking .pth file support in /var/tmp/portage/dev-python/pytz-2007f/image/usr/lib/python2.4/site-packages/ /usr/bin/python -E -c pass TEST FAILED: /var/tmp/portage/dev-python/pytz-2007f/image/usr/lib/python2.4/site-packages/ does NOT support .pth files error: bad install directory or PYTHONPATH You are attempting to install a package to a directory that is not on PYTHONPATH and which Python does not read ".pth" files from. The installation directory you specified (via --install-dir, --prefix, or the distutils default setting) was: /var/tmp/portage/dev-python/pytz-2007f/image/usr/lib/python2.4/site-packages/ and your PYTHONPATH environment variable currently contains: '/usr/lib64/portage/pym' Here are some of your options for correcting the problem: * You can choose a different installation directory, i.e., one that is on PYTHONPATH or supports .pth files * You can add the installation directory to the PYTHONPATH environment variable. (It must then also be on PYTHONPATH whenever you run Python and want to use the package(s) you are installing.) * You can set up the installation directory to support ".pth" files by using one of the approaches described here: http://peak.telecommunity.com/EasyInstall.html#custom-installation-locations Please make the appropriate changes for your system and try again. !!! ERROR: dev-python/pytz-2007f failed. Call stack: ebuild.sh, line 1621: Called dyn_install ebuild.sh, line 1067: Called qa_call 'src_install' ebuild.sh, line 44: Called src_install ebuild.sh, line 1311: Called distutils_src_install distutils.eclass, line 61: Called die Reproducible: Always Steps to Reproduce: 1. emerge pytz
I can't reproduce the problem here. What version of setuptools do you have? Please post your emerge --info as well.