[Numpy-discussion] Status of NumPy and Python 3.3

Stefan Krah stefan-usenet@bytereef....
Sun Jul 29 16:55:55 CDT 2012


Ronan Lamy <ronan.lamy@gmail.com> wrote:
> ImportError: No module named 'distutils.command.install_clib'

I'm seeing the same with Python 3.3.0b1 (68e2690a471d+) and this patch
solves the problem:

diff --git a/numpy/distutils/command/__init__.py b/numpy/distutils/command/__init__.py
index f8f0884..b9f0d09 100644
--- a/numpy/distutils/command/__init__.py
+++ b/numpy/distutils/command/__init__.py
@@ -7,13 +7,13 @@ __revision__ = "$Id: __init__.py,v 1.3 2005/05/16 11:08:49 pearu Exp $"
 
 distutils_all = [  #'build_py',
                    'clean',
-                   'install_clib',
                    'install_scripts',
                    'bdist',
                    'bdist_dumb',
                    'bdist_wininst',
                 ]
 
+from numpy.distutils.command import install_clib
 __import__('distutils.command',globals(),locals(),distutils_all)
 
 __all__ = ['build',



Stefan Krah




More information about the NumPy-Discussion mailing list