Ask Your Question

Revision history [back]

It's because you're using python3, whose path by default is:

[ankur@dhcppc1  ~]$ python3
Python 3.3.0 (default, Sep 29 2012, 22:07:38)
[GCC 4.7.2 20120921 (Red Hat 4.7.2-2)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path
['', '/usr/lib64/python33.zip', '/usr/lib64/python3.3', '/usr/lib64/python3.3/plat-linux', '/usr/lib64/python3.3/lib-dynload', '/usr/lib64/python3.3/site-packages', '/usr/lib/python3.3/site-packages']
>>>

However, the python-distutils-extra package is only built for python2 and puts files in the python2.7 directory, not python3.3.

[ankur@dhcppc1  ~]$ sudo repoquery -l "*distutils*"
/usr/lib/python2.7/site-packages/DistUtilsExtra
/usr/lib/python2.7/site-packages/DistUtilsExtra/__init__.py
/usr/lib/python2.7/site-packages/DistUtilsExtra/__init__.pyc
/usr/lib/python2.7/site-packages/DistUtilsExtra/__init__.pyo
/usr/lib/python2.7/site-packages/DistUtilsExtra/auto.py
/usr/lib/python2.7/site-packages/DistUtilsExtra/auto.pyc
/usr/lib/python2.7/site-packages/DistUtilsExtra/auto.pyo
/usr/lib/python2.7/site-packages/DistUtilsExtra/command
/usr/lib/python2.7/site-packages/DistUtilsExtra/command/__init__.py
/usr/lib/python2.7/site-packages/DistUtilsExtra/command/__init__.pyc
/usr/lib/python2.7/site-packages/DistUtilsExtra/command/__init__.pyo
/usr/lib/python2.7/site-packages/DistUtilsExtra/command/build_extra.py
/usr/lib/python2.7/site-packages/DistUtilsExtra/command/build_extra.pyc
/usr/lib/python2.7/site-packages/DistUtilsExtra/command/build_extra.pyo
/usr/lib/python2.7/site-packages/DistUtilsExtra/command/build_help.py
/usr/lib/python2.7/site-packages/DistUtilsExtra/command/build_help.pyc
/usr/lib/python2.7/site-packages/DistUtilsExtra/command/build_help.pyo
/usr/lib/python2.7/site-packages/DistUtilsExtra/command/build_i18n.py
/usr/lib/python2.7/site-packages/DistUtilsExtra/command/build_i18n.pyc
/usr/lib/python2.7/site-packages/DistUtilsExtra/command/build_i18n.pyo
/usr/lib/python2.7/site-packages/DistUtilsExtra/command/build_icons.py
/usr/lib/python2.7/site-packages/DistUtilsExtra/command/build_icons.pyc
/usr/lib/python2.7/site-packages/DistUtilsExtra/command/build_icons.pyo
/usr/lib/python2.7/site-packages/DistUtilsExtra/command/clean_i18n.py
/usr/lib/python2.7/site-packages/DistUtilsExtra/command/clean_i18n.pyc
/usr/lib/python2.7/site-packages/DistUtilsExtra/command/clean_i18n.pyo
/usr/lib/python2.7/site-packages/DistUtilsExtra/command/pylint.py
/usr/lib/python2.7/site-packages/DistUtilsExtra/command/pylint.pyc
/usr/lib/python2.7/site-packages/DistUtilsExtra/command/pylint.pyo
/usr/lib/python2.7/site-packages/python_distutils_extra-2.34-py2.7.egg-info
/usr/lib/python2.7/site-packages/python_distutils_extra-2.34-py2.7.egg-info/PKG-INFO
/usr/lib/python2.7/site-packages/python_distutils_extra-2.34-py2.7.egg-info/SOURCES.txt
/usr/lib/python2.7/site-packages/python_distutils_extra-2.34-py2.7.egg-info/dependency_links.txt
/usr/lib/python2.7/site-packages/python_distutils_extra-2.34-py2.7.egg-info/entry_points.txt
/usr/lib/python2.7/site-packages/python_distutils_extra-2.34-py2.7.egg-info/top_level.txt
/usr/share/doc/python-distutils-extra-2.34
/usr/share/doc/python-distutils-extra-2.34/FAQ
/usr/share/doc/python-distutils-extra-2.34/LICENSE
/usr/share/doc/python-distutils-extra-2.34/README
/usr/share/doc/python-distutils-extra-2.34/setup.cfg.example
/usr/share/doc/python-distutils-extra-2.34/setup.py.example
[ankur@dhcppc1  ~]$

You'll have to request the maintainer of python-distutils-extra to build it for python3 if it supports it. You can file an RFE here