[Numpy-discussion] AttributeError in numpy.distutils

Branimir Sesar bsesar at astro.caltech.edu
Thu May 19 14:28:03 EDT 2011


Dear Numpy users,

I've encountered an AttributeError in numpy.distutils

   File 
"/home/bsesar/usr/pydebug/lib/python2.7/site-packages/numpy/distutils/command/build_src.py", 
line 646, in swig_sources
     extension.swig_opts.remove('-c++')
AttributeError: 'str' object has no attribute 'remove'

while compiling some code with Python 2.7.1 and Numpy 1.6.0.

Is this a known bug?

Cheers,

Brani



More information about the NumPy-Discussion mailing list